in reply to XS code returns GLOB instead of IV
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!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: XS code returns GLOB instead of IV
by diotalevi (Canon) on Dec 23, 2002 at 21:20 UTC |