summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-10-29 17:02:49 +0000
committerNicholas Clark <nick@ccl4.org>2005-10-29 17:02:49 +0000
commitbddd5118bb8dac8628019bdb9373c01f5937db98 (patch)
tree93b25ce647fcd6fe67ddd070504fcad452fa186b /sv.h
parentcb2f1b7b22aef64f26e7bd5484244a0df0c94631 (diff)
downloadperl-bddd5118bb8dac8628019bdb9373c01f5937db98.tar.gz
Add a new SMAGIC flag, to signal a call to SvSETMAGIC. Add it to
sv_catpvn_flags and sv_catsv_flags, and then re-implement sv_catpvn_mg and sv_catsv_mg as calls to sv_catpvn_flags and sv_catsv_flags respectively. p4raw-id: //depot/perl@25884
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sv.h b/sv.h
index 2fad32ab84..06ab68a93e 100644
--- a/sv.h
+++ b/sv.h
@@ -1348,6 +1348,7 @@ Like C<sv_catsv> but doesn't process magic.
#define SV_NOSTEAL 16
#define SV_CONST_RETURN 32
#define SV_MUTABLE_RETURN 64
+#define SV_SMAGIC 128
#define sv_unref(sv) sv_unref_flags(sv, 0)
#define sv_force_normal(sv) sv_force_normal_flags(sv, 0)