Archive for January 27th, 2017
Send in a Perl aref to C, get back a Perl array (and using the generated XS)
Posted on January 27, 2017. Filed under: Uncategorized | Tags: author:stevieb, cpan:inline-c, perl, perlmonks, xs |
Send in a Perl aref to C, get back a Perl array (and using the generated XS) This will show you how to pass a Perl array reference (aref) into a C function, convert the aref into a C array, work on it, then push it back onto the stack so the C function returns […]
Read Full Post | Make a Comment ( Comments Off on Send in a Perl aref to C, get back a Perl array (and using the generated XS) )