This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Replace PL_vtbl_* with an array PL_magic_vtables.
authorNicholas Clark <nick@ccl4.org>
Fri, 13 May 2011 19:24:34 +0000 (20:24 +0100)
committerNicholas Clark <nick@ccl4.org>
Sat, 11 Jun 2011 08:12:19 +0000 (10:12 +0200)
commitb7b5e5787c7b4801f734eb833f5850eea594cca9
tree2152af65815564ba077020111bcf9f4936a140f4
parentca298f7d2a54eb2838d5931d3aac12d5f3209356
Replace PL_vtbl_* with an array PL_magic_vtables.

Define each PL_vtbl_* name as a macro which expands to the correct array
element. Using a single array instead of multiple named variables will allow
the simplification of various pieces of code.
globvar.sym
makedef.pl
mg_vtable.h
regen/mg_vtable.pl