in reply to Does hv_delete() decrement the reference count of the SV * it returns?
Yes. It is documented, you just have to RTFS ;-) If you take a quick glance at the source in hv.c you will see that Perl_hv_delete (hv_delete is a define in objXSUB.h) calls Perl_hv_free_ent which in turn calls SvREFCNT_dec
cheers
tachyon
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Does hv_delete() decrement the reference count of the SV * it returns?
by Anonymous Monk on Oct 14, 2004 at 03:14 UTC | |
by tachyon (Chancellor) on Oct 14, 2004 at 03:54 UTC |