Yeah. Saw that, but it doesn't help much. The vagueness of
Similarly, results returned by XSUBs (which are pushed on the stack) are often made mortal.
leaves me wondering if I should mortalise every SV I return from XS code? What about from Inline C code? How about the RV that you bless and set into the object that you return a reference to when using Inline C OO? Or the reference itself?
In reply to Re^2: XS-ive Mortality. (or when to use sv_2mortal())
by BrowserUk
in thread XS-ive Mortality. (or when to use sv_2mortal())
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |