summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2005-06-22 21:42:54 +0000
committerDave Mitchell <davem@fdisolutions.com>2005-06-22 21:42:54 +0000
commit0cbee0a449cc4e11ef8db851c20b026c8f9ff45e (patch)
treeb8f64d28537d653564df5df9d38f0c44680e8a51 /embed.h
parent666e7e7967a0bc59b1f44ec2961661c439aad50c (diff)
downloadperl-0cbee0a449cc4e11ef8db851c20b026c8f9ff45e.tar.gz
handle magic in local correctly
the local SV now gets a copy of any container magic, and no value magic; in the past the whole magic chain was either shared or moved p4raw-id: //depot/perl@24942
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/embed.h b/embed.h
index 94d7e50bd1..95b2dfb98f 100644
--- a/embed.h
+++ b/embed.h
@@ -460,6 +460,9 @@
#define sortsv Perl_sortsv
#define mg_clear Perl_mg_clear
#define mg_copy Perl_mg_copy
+#ifdef PERL_CORE
+#define mg_localize Perl_mg_localize
+#endif
#define mg_find Perl_mg_find
#define mg_free Perl_mg_free
#define mg_get Perl_mg_get
@@ -2434,6 +2437,9 @@
#define sortsv(a,b,c) Perl_sortsv(aTHX_ a,b,c)
#define mg_clear(a) Perl_mg_clear(aTHX_ a)
#define mg_copy(a,b,c,d) Perl_mg_copy(aTHX_ a,b,c,d)
+#ifdef PERL_CORE
+#define mg_localize(a,b) Perl_mg_localize(aTHX_ a,b)
+#endif
#define mg_find(a,b) Perl_mg_find(aTHX_ a,b)
#define mg_free(a) Perl_mg_free(aTHX_ a)
#define mg_get(a) Perl_mg_get(aTHX_ a)