summaryrefslogtreecommitdiff
path: root/perlapi.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-12-26 18:26:53 +0000
committerNicholas Clark <nick@ccl4.org>2008-12-27 21:12:12 +0000
commita3e6e81e81213c31f0612471c427044481a95287 (patch)
treeee301f51042968614e037f30ee494f770446607d /perlapi.h
parent123892d916359369839f3896f283189be71dc32c (diff)
downloadperl-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/perlapi.h b/perlapi.h
index 3eb7124295..4f23d25c02 100644
--- a/perlapi.h
+++ b/perlapi.h
@@ -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