diff options
author | Zefram <zefram@fysh.org> | 2009-08-21 01:49:14 +0200 |
---|---|---|
committer | Vincent Pit <perl@profvince.com> | 2009-08-21 13:33:59 +0200 |
commit | f747ebd621ca5f8cd5605b35b81db4ac486f68f9 (patch) | |
tree | e412ad370ee591c40096e9d87a3aa30ac7b6b269 /proto.h | |
parent | a8ae8fee103e29c80450bb74b87866088a24b4a1 (diff) | |
download | perl-f747ebd621ca5f8cd5605b35b81db4ac486f68f9.tar.gz |
Add clear magic to %^H so that the HE chain is reset when you empty it.
This fixes [perl #68590] : %^H not lexical enough.
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1504,6 +1504,12 @@ PERL_CALLCONV int Perl_magic_clearhint(pTHX_ SV* sv, MAGIC* mg) #define PERL_ARGS_ASSERT_MAGIC_CLEARHINT \ assert(sv); assert(mg) +PERL_CALLCONV int Perl_magic_clearhints(pTHX_ SV* sv, MAGIC* mg) + __attribute__nonnull__(pTHX_1) + __attribute__nonnull__(pTHX_2); +#define PERL_ARGS_ASSERT_MAGIC_CLEARHINTS \ + assert(sv); assert(mg) + PERL_CALLCONV int Perl_magic_clearisa(pTHX_ SV* sv, MAGIC* mg) __attribute__nonnull__(pTHX_2); #define PERL_ARGS_ASSERT_MAGIC_CLEARISA \ |