You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously these two values were set at the end of parsing an XSUB:
XSRETURN_count_basic
XSRETURN_count_extra
They represent whether a RETVAL SV will be returned by the XSUB, and
how many extra SVs are returned due to parameters declared as OUTLIST.
This commit sets them earlier, as in particular, the next commit will
need to access XSRETURN_count_basic earlier.
XSRETURN_count_extra is now set right after parsing the XSUB's
declaration, as its value can't change after then.
XSRETURN_count_basic is now set after parsing the output part of the
each body of the XSUB (an XSUB can have a body per CASE). Its value
*aught* to be consistent across all bodies, but it's possible for the
CODE_sets_ST0 hack (which looks for code like like 'ST(0) = ...' in any
CODE: block) to vary across bodies; so this commit also adds a new
warning and test for that.
0 commit comments