Perl-Sensitive Sunglasses | |
PerlMonks |
Re^2: Automatically Import XS structby dave_the_m (Monsignor) |
on Feb 03, 2021 at 15:23 UTC ( [id://11127859]=note: print w/replies, xml ) | Need Help?? |
XS is just a wrapper around C code to automate the generation of the C code by the automatic addition of boilerplate etc. In a standard XS distribution directory, typing 'make' will generate a foo.c file from the foo.xs file. Seeing how your code gets converted into C will give you a good idea of what's happening or where you're going wrong. If you don't understand how to handle the struct within C code then you've got a bigger problem.
Dave. Reparented by Grandfather to OP
In Section
Seekers of Perl Wisdom
|
|