This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Change the way of determining the MRO algorithm used from an enum
authorNicholas Clark <nick@ccl4.org>
Wed, 26 Sep 2007 10:21:50 +0000 (10:21 +0000)
committerNicholas Clark <nick@ccl4.org>
Wed, 26 Sep 2007 10:21:50 +0000 (10:21 +0000)
commit3d76853f2ba25cc9699cf098371070e4651e154f
tree642530689aef60363b778e613095b897ee359ed4
parent6f47696963057ac118d1f5f49ebe66a858dd9e42
Change the way of determining the MRO algorithm used from an enum
defined in the header, to a pointer to a structure. This allows the
flexibility to easily add more MROs in the future, and to provide an
API to do so. Dispatch in mro.c is now via the structure pointed to,
rather than switch statements on the value of the enum.

p4raw-id: //depot/perl@31977
hv.h
mro.c