good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Linking Open Perl Filehandles to Stream Based C code via XSby beauregard (Monk) |
on Nov 06, 2004 at 20:02 UTC ( [id://405806]=note: print w/replies, xml ) | Need Help?? |
I've had luck with something along the lines of:
Obviously you'd want to do stuff like error handling and arg counts and stuff, but that's basically how xsubpp handles XSUB definitions like the following in .xs files: c.
In Section
Seekers of Perl Wisdom
|
|