It is honestly a bit elusive to me exactly how and when to free() within the XS in the case I've shown explicitly, but using the same repo I used to generate this example tutorial, I'm going to play around a bit here.
I will post back here and update my OP once I figure it out.
As always, feedback welcome ;)
In reply to Re^2: Wrapping a C shared library with Perl and XS
by stevieb
in thread Wrapping a C shared library with Perl and XS
by stevieb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |