[Rd] longint

Benjamin Tyner btyner @ending from gm@il@com
Wed Aug 15 13:08:42 CEST 2018


Hi

In my R package, imagine I have a C function defined:

    void myfunc(int *x) {
       // some code
    }

but when I call it, I pass it a pointer to a longint instead of a 
pointer to an int. Could this practice potentially result in a segfault?

Regards
Ben



More information about the R-devel mailing list