![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re:{3} XS routine returns an extra depth of array refsby jeroenes (Priest) |
on Nov 05, 2001 at 23:48 UTC ( #123395=note: print w/replies, xml ) | Need Help?? |
It should be newRV_inc. :-) Only with inline the refcounter of the SV gets auto-incremented. With XS you have to that yourself. Update: For clarity, only the refcounter of the SV that gets returned! Other SV*'s you have to inc manually!
In Section
Seekers of Perl Wisdom
|
|