|Just another Perl shrine|
Re^2: XS: EXTEND/mPUSHiby BrowserUk (Pope)
|on Sep 26, 2011 at 16:30 UTC||Need Help??|
Yes. I know it can be done using the ludicrously verbose, Camel_Case_And_Underscores inline stack macros. I was trying to understand why I can't use the neater and more concise XS macros from Inline C. I've found I can reduce the requirements to:
But looking at the C produced by the above, it looks like there is a path through the generated wrapper function that avoids both the XSRETURN_EMPTY and the PUTBACK, thus returning whatever has been pushed:
But I'm obviously missing something in the OP code that would cause (or allow) it to follow that path?
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.