The wrapper sub knows (or can find out) how many values were passed on the stack. For fixed-length argument lists (no ellipses), it could clean up the stack before calling the I::C sub.
I concur. I came to the same conclusion.
and then use that to determine how many (if any) values have been pushed onto the stack during the call, thereby removing the need for the I::C programmer to do this manually.
I'm guessing "do this" means "calling PUTBACK". If so, sweet. I hadn't looked that far.
In reply to Re^7: XS: EXTEND/mPUSHi
by ikegami
in thread XS: EXTEND/mPUSHi
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |