I have used XSRETURN_UNDEF in my XS code, which is also documented in perlapi. It just 'Returns "&PL_sv_undef" from an XSUB immediately.'. I don't know if one way is better than the other, I just thought I'd throw it out there...
--In reply to Re: Returning undef from XS code
by edan
in thread Returning undef from XS code
by thor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |