the.jxc has asked for the wisdom of the Perl Monks concerning the following question:
My question: How from within XS do I recursively (and efficiently) call my own XS function?
I can see call_sv and it various variants, by which I can call a Perl function from XS. But how do I call myself?
I have a nasty little parser that I am migrating from PP to XS, and it needs to recurse... help please!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Recursing in XS?
by syphilis (Archbishop) on Apr 19, 2013 at 06:57 UTC | |
|
Re: Recursing in XS?
by salva (Canon) on Apr 19, 2013 at 07:41 UTC | |
|
Re: Recursing in XS?
by bulk88 (Priest) on Apr 20, 2013 at 04:28 UTC |