![]() |
|
more useful options | |
PerlMonks |
Re: Perl XS binding to a struct with an array of chars*by swl (Parson) |
on Nov 20, 2022 at 20:43 UTC ( #11148279=note: print w/replies, xml ) | Need Help?? |
It might also be worth looking at FFI::Platypus. A recent update includes the ability to handle structs: https://metacpan.org/pod/FFI::Platypus#Structured-Data-Records-(by-pointer-or-by-reference). Just a data point, as you might already have a decent sized code base written beyond what you have shown.
In Section
Seekers of Perl Wisdom
|
|