From btyner @ending from gm@il@com  Wed Aug 15 13:08:42 2018
From: btyner @ending from gm@il@com (Benjamin Tyner)
Date: Wed, 15 Aug 2018 07:08:42 -0400
Subject: [Rd] longint
Message-ID: <b8cc39c0-2e5b-2157-173b-7341ab687188@gmail.com>

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



[Rd] longint
Benjamin Tyner