summaryrefslogtreecommitdiff
path: root/proto.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 /proto.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 'proto.h')
-rw-r--r--proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 473b80414f..22f84e7a0d 100644
--- a/proto.h
+++ b/proto.h
@@ -828,6 +828,7 @@ PERL_CALLCONV void Perl_qerror(pTHX_ SV* err);
PERL_CALLCONV void Perl_sortsv(pTHX_ SV ** array, size_t num_elts, SVCOMPARE_t cmp);
PERL_CALLCONV int Perl_mg_clear(pTHX_ SV* sv);
PERL_CALLCONV int Perl_mg_copy(pTHX_ SV* sv, SV* nsv, const char* key, I32 klen);
+PERL_CALLCONV void Perl_mg_localize(pTHX_ SV* sv, SV* nsv);
PERL_CALLCONV MAGIC* Perl_mg_find(pTHX_ const SV* sv, int type);
PERL_CALLCONV int Perl_mg_free(pTHX_ SV* sv);
PERL_CALLCONV int Perl_mg_get(pTHX_ SV* sv);