Do you know where your variables are? | |
PerlMonks |
Re: Terrible Trouble With Typemaps (XS Question)by dragonchild (Archbishop) |
on Sep 07, 2004 at 12:25 UTC ( [id://389002]=note: print w/replies, xml ) | Need Help?? |
(I've never written XS, so take me with a grain of salt.)
When dealing with this kind of thing in C, we'd use a macro #define to make our lives easier. So, I could see something like:
Again, I have no idea if XS provides for a pre-processor or not. Hope this helps! ------
Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose I shouldn't have to say this, but any code, unless otherwise stated, is untested
In Section
Seekers of Perl Wisdom
|
|