diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-10-29 14:39:37 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-10-29 14:39:37 +0000 |
commit | 3047fdabcd4f039f4c2a65f54dc9aed3d77d22b0 (patch) | |
tree | 229b40596acda4d59f5b62a8b8155fd76c5498a2 /sv.h | |
parent | 13945fc04b4de5a38be3c88d79db4ab451b8a309 (diff) | |
download | perl-3047fdabcd4f039f4c2a65f54dc9aed3d77d22b0.tar.gz |
Replace sv_unref with a macro that calls sv_unref_flags
p4raw-id: //depot/perl@25878
Diffstat (limited to 'sv.h')
-rw-r--r-- | sv.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1349,6 +1349,8 @@ Like C<sv_catsv> but doesn't process magic. #define SV_CONST_RETURN 32 #define SV_MUTABLE_RETURN 64 +#define sv_unref(sv) sv_unref_flags(sv, 0) + /* We are about to replace the SV's current value. So if it's copy on write we need to normalise it. Use the SV_COW_DROP_PV flag hint to say that the value is about to get thrown away, so drop the PV rather than go to |