diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-12-26 18:26:53 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-12-27 21:12:12 +0000 |
commit | a3e6e81e81213c31f0612471c427044481a95287 (patch) | |
tree | ee301f51042968614e037f30ee494f770446607d /perlapi.h | |
parent | 123892d916359369839f3896f283189be71dc32c (diff) | |
download | perl-a3e6e81e81213c31f0612471c427044481a95287.tar.gz |
Add Perl_mro_register() to register Method Resolution Orders,
Perl_mro_get_from_name() to retrieve MROs by name, and PL_registered_mros to
store them in. Abolish the static array of mros, and instead register the dfs
and c3 MRO structures.
Diffstat (limited to 'perlapi.h')
-rw-r--r-- | perlapi.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -532,6 +532,8 @@ END_EXTERN_C #define PL_regex_padav (*Perl_Iregex_padav_ptr(aTHX)) #undef PL_reginterp_cnt #define PL_reginterp_cnt (*Perl_Ireginterp_cnt_ptr(aTHX)) +#undef PL_registered_mros +#define PL_registered_mros (*Perl_Iregistered_mros_ptr(aTHX)) #undef PL_regmatch_slab #define PL_regmatch_slab (*Perl_Iregmatch_slab_ptr(aTHX)) #undef PL_regmatch_state |