Displaying 1 result from an estimated 1 matches for "tp4653908p4654033".
2012 Dec 25
2
reinterpreting externalptr in R
Hi,
I am using swig to build a wrapper for an c-function to use it in R. I would
like to define a generic function, which gives back a void pointer. On the R
side, I know what this pointer is pointing to, whether it is an integer or
an string, or something else... but I need to somehow reinterpret the
resulting "externalptr" into another form...
a function that looks like the