diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-07-12 23:31:52 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-09-15 22:45:03 -0700 |
commit | 2a388207e072a645aa29f0b2b18f07d9a55cbf5e (patch) | |
tree | e5cc426ec00c7925570598b6dd420b6050d9598e /mg_names.c | |
parent | 194774c2461cd523598d669111a3251e2ceb0147 (diff) | |
download | perl-2a388207e072a645aa29f0b2b18f07d9a55cbf5e.tar.gz |
Add proto magic type
This will be used for storing the prototype CV of a ‘my’ sub. The
clone needs to occupy the pad entry so that padcv ops will be able to
find it. That means the clone has to displace its prototype. In case
the same sub is called recursively, we still need to be able to access
the prototype.
Diffstat (limited to 'mg_names.c')
-rw-r--r-- | mg_names.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mg_names.c b/mg_names.c index 51a49626f5..73dc3f9502 100644 --- a/mg_names.c +++ b/mg_names.c @@ -9,6 +9,7 @@ { PERL_MAGIC_sv, "sv(\\0)" }, { PERL_MAGIC_arylen, "arylen(#)" }, { PERL_MAGIC_rhash, "rhash(%)" }, + { PERL_MAGIC_proto, "proto(&)" }, { PERL_MAGIC_pos, "pos(.)" }, { PERL_MAGIC_symtab, "symtab(:)" }, { PERL_MAGIC_backref, "backref(<)" }, |