The CODE: section defines RETVAL but does not implicitly return RETVAL according to the perlxs manpage. Effectively, an undefined single value is being returned from all of your functions.
To solve this, model the functions according to the following form:
I32 ds_scopestack_ix() CODE: RETVAL = PL_scopestack_ix; OUTPUT: RETVAL
Good luck!
In reply to Re: XS code returns GLOB instead of IV
by MarkM
in thread XS code returns GLOB instead of IV
by diotalevi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |