search for: r_registerednativesymbol

Displaying 2 results from an estimated 2 matches for "r_registerednativesymbol".

2024 May 28
1
How to call directly "dotTcl" C-function of the tcltk-package from the C-code of an external package?
...However, the tcltk:::.C_dotTcl$address is an external pointer of a class RegisteredNativeSymbol and not directly the function pointer to the actual routine. The problem is that there appears not to be any R-level function that would extract the actual function-pointer and that the C-interface for R_RegisteredNativeSymbol has been defined in the internal Rdynpriv.h header that is not included in the public API headers. The only way I was able to access the function directly was using the following C-level approach in which essential parts of the headers are copied from the Rdynpriv.h: #include <R.h> #includ...
2024 May 30
1
How to call directly "dotTcl" C-function of the tcltk-package from the C-code of an external package?
...tcltk:::.C_dotTcl$address is an external pointer of a class > RegisteredNativeSymbol and not directly the function pointer to the actual routine. The > problem is that there appears not to be any R-level function that would extract the actual > function-pointer and that the C-interface for R_RegisteredNativeSymbol has been defined > in the internal Rdynpriv.h header that is not included in the public API headers. > > The only way I was able to access the function directly was using the following C-level > approach in which essential parts of the headers are copied from the Rdynpriv.h: > &gt...