Proper pluggable Method Resolution Orders. 'c3' is now implemented outside the
authorNicholas Clark <nick@ccl4.org>
Sat, 27 Dec 2008 00:20:35 +0000 (00:20 +0000)
committerNicholas Clark <nick@ccl4.org>
Sat, 27 Dec 2008 21:12:12 +0000 (21:12 +0000)
commitb2685f0c86badfc357584d8dbfb2bf17057ea226
tree69b0e3ace3542be24afd551380e2e0ecffc1500a
parentc60bad7b8870cf2745c93e1b99cbb504daa780b2
Proper pluggable Method Resolution Orders. 'c3' is now implemented outside the
core, in ext/mro/mro.xs. Also move mro::_nextcan() to mro.xs. It needs direct
access to S_mro_get_linear_isa_c3(), and nothing on CPAN calls it, except via
methods defined in mro.pm. Hence all users already require mro;
18 files changed:
.gitignore
MANIFEST
Makefile.SH
embed.fnc
embed.h
ext/mro/Changes [new file with mode: 0644]
ext/mro/Makefile.PL [new file with mode: 0644]
ext/mro/mro.pm [moved from lib/mro.pm with 98% similarity]
ext/mro/mro.xs [new file with mode: 0644]
ext/mro/t/pluggable.t [new file with mode: 0644]
hv.h
mro.c
proto.h
t/mro/basic.t
t/mro/inconsistent_c3.t
t/mro/recursion_c3.t
win32/Makefile
win32/makefile.mk