in reply to Re: Managing C library memory in XS
in thread Managing C library memory in XS
I'm not sure I follow you here ... Are you suggesting to make perl code explicitly call the wrapper (instead of relying on DESTROY) and keeping a separate (non perl) refcount for every person pointer in the module?
That's how I read your suggestion, since the Perl refcount is always zero when DESTROY is called, right...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Managing C library memory in XS
by dmitri (Priest) on May 05, 2014 at 12:51 UTC | |
by petermogensen (Sexton) on May 05, 2014 at 12:58 UTC | |
by dmitri (Priest) on May 05, 2014 at 13:10 UTC | |
by petermogensen (Sexton) on May 05, 2014 at 13:20 UTC |