I expect to have a hashref returned, but instead I got nothing. Why?Because newSVrv() doesn't do what you think it does. It converts its arg into an RV and makes it point to a new, null SV that it creates, and returns.
You probably want newRV_noinc() instead.
Dave.
In reply to Re: SV creation inside XS
by dave_the_m
in thread SV creation inside XS
by llancet
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |