summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-04-16 11:03:28 +0000
committerNicholas Clark <nick@ccl4.org>2006-04-16 11:03:28 +0000
commit47518d95dc53ff6c3eab1e57e355d65c518ebfa5 (patch)
tree7a6c2bacad02be8716b0f1896436d2e00c6fdad3 /sv.h
parent69d25b4f32e8b88ba21011f0df2af3779b14626d (diff)
downloadperl-47518d95dc53ff6c3eab1e57e355d65c518ebfa5.tar.gz
Merge sv_usepvn and sv_usepvn_mg into sv_usepvn_flags. "Promote" the
other two to mathoms.c p4raw-id: //depot/perl@27840
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sv.h b/sv.h
index 1a83cf3b3d..e887497163 100644
--- a/sv.h
+++ b/sv.h
@@ -1640,6 +1640,8 @@ Like C<sv_catsv> but doesn't process magic.
#define sv_unref(sv) sv_unref_flags(sv, 0)
#define sv_force_normal(sv) sv_force_normal_flags(sv, 0)
+#define sv_usepvn(sv, p, l) sv_usepvn_flags(sv, p, l, 0)
+#define sv_usepvn_mg(sv, p, l) sv_usepvn_flags(sv, p, l, SV_SMAGIC)
/* 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