summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-10-29 14:51:32 +0000
committerNicholas Clark <nick@ccl4.org>2005-10-29 14:51:32 +0000
commit5abc721d638ff51bc38a83a3846d0b034cac3761 (patch)
tree8fa94f8cb8a8ed14abd7a964f78db7444859991f /sv.h
parent174c73e345a053498d612e92802b2f52a87c26bc (diff)
downloadperl-5abc721d638ff51bc38a83a3846d0b034cac3761.tar.gz
Replace sv_force_normal with a macro that calls sv_force_normal_flags.
p4raw-id: //depot/perl@25879
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sv.h b/sv.h
index 8dbbcb287c..2dc1d8c778 100644
--- a/sv.h
+++ b/sv.h
@@ -1349,7 +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)
+#define sv_unref(sv) sv_unref_flags(sv, 0)
+#define sv_force_normal(sv) sv_force_normal_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