Hi all,
Can anyone point me in the direction of how to retrieve the name of the perl variable
an XSub is going to return to (if its possible of course).
For example, if in perl the statement
$retName=XSUB_CALL(.....), where XSUB_CALL is some xsub call.
I want to be able trace the value "$retName" from within the xsub. I've had a look
around on the perl stack on entry to the xsub SvPV_nolen(ST(0)) appears to report the
perl alias of the xsub function.
I'm finding it hard to track down where in the source code perl branches off to do the
xsub call and sets up/post processes the stack - i'd hoped this might have given me a
clue, either that or confirm my suspicion that its not possible.
Any pointers would be greatly appreciated!
Rich