[Rd] longint

Benjamin Tyner
Wed, 15 Aug 2018 11:08:42 -0000

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