in reply to Re: perlxs failed to parse my typemap (typemaps are double quoted perl strings)
in thread perlxs failed to parse my typemap
== Why not use T_ENUM?
Because I need input and output from perl, and T_ENUM only allows to transfer from C
== Why not do the string-to-flag conversion in pure-perl?
Because I don't want my typemap code looks full of {{{}}}
Now I use an ultimate solution: put all conversion code in functions in another .c and .h file, and call these functions in XS code.
|
|---|