|
|
| "be consistent" | |
| PerlMonks |
Re: Ellipsis in perl XSby rafl (Friar) |
| on Sep 04, 2006 at 22:32 UTC ( #571162=note: print w/ replies, xml ) | Need Help?? |
|
That's exactly right.
If you want to pass a list of objects (let's say pointers of type foo*) that require a typemap you usually create a typemap that simply calls a function (let's say SvFoo()) to convert a foo pointer to an SV:
And in your XS code do:
Now the only thing you need to do is to define a SvFoo function which might look like that:
Cheers, Flo
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||