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

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to