diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2005-06-22 21:42:54 +0000 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2005-06-22 21:42:54 +0000 |
commit | 0cbee0a449cc4e11ef8db851c20b026c8f9ff45e (patch) | |
tree | b8f64d28537d653564df5df9d38f0c44680e8a51 /proto.h | |
parent | 666e7e7967a0bc59b1f44ec2961661c439aad50c (diff) | |
download | perl-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |