Try putting this in your XS interface:
Or you can get a file descriptor for any open filehandle using fileno, and pass that (as a simple integer) to your C (or whatever) function, if that's what it needs.char * do_funky_xs_thang( file ) FILE * file
the lowliest monk
In reply to Re: How to pass filehandles from perl to XS?
by tlm
in thread How to pass filehandles from perl to XS?
by mrallen1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |