Dec 10, 2011, 5:17 AM
Post #1 of 1
Perlxs typemap problem.
I'm trying to use PerlXS to write a perl interface to OSF/Motif, a
GUI library for the X Window System.
C code needs to return Widget data structure (and a few others) and Perl code should pass it as an argument. I tried to use T_PTR typemap but it segfaults. Can anyone help me?
How can I pass arguments and pointers between Perl and C?
Thanks for any help!