On Sat, Jul 21, 2012 at 6:12 PM, Bill Moseley <
mos...@hank.org> wrote:
> perl -V shows this, if of any concern:
>
> use64bitint=define, use64bitall=define
>
> Could someone please show me how to correctly handle this signature?
I believe that a "typemap" file in your build directory with the content below
my sig should do the trick.
Note that the <tab> character between "long long int" and "LONG_LONG_INT" is
mandatory.
More info here:
http://perldoc.perl.org/perlxstypemap.html
Marvin Humphrey
TYPEMAP
long long int LONG_LONG_INT
INPUT
LONG_LONG_INT
$var = ($type)SvIV($arg);
OUTPUT
LONG_LONG_INT
sv_setiv($arg, (IV)$var);