in reply to Re^4: perl XS - passing array to C and getting it back
in thread perl XS - passing array to C and getting it back
I can't use inline at all.
That's why I posted the .xs file generated by Inline::C. You'll need to grab Inline.h from the package and then the XS code I posted should compile directly.
Of course, if you can compile XS code, there is no rational reason why you cannot use Inline::C; but if you prefer not to that's your choice.
|
|---|