in reply to Re: Re: XS routine returns an extra depth of array refs
in thread XS routine returns an extra depth of array refs
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!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: {4} XS routine returns an extra depth of array refs
by mugwumpjism (Hermit) on Nov 06, 2001 at 00:01 UTC | |
by busunsl (Vicar) on Nov 06, 2001 at 11:56 UTC |
In Section
Seekers of Perl Wisdom