This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Generate the definitions for magic vtables from data in a regen script.
authorNicholas Clark <nick@ccl4.org>
Fri, 13 May 2011 13:17:22 +0000 (14:17 +0100)
committerNicholas Clark <nick@ccl4.org>
Sat, 11 Jun 2011 08:12:17 +0000 (10:12 +0200)
commit8b09643d068d86543c3782211d4a527ee93fee77
tree32056686eb6f479513c1c0d5c0a05fd94ec70674
parent4de01b548a201d0dc90101ced2980c754fbf0e00
Generate the definitions for magic vtables from data in a regen script.

Previously perl.h contained a long section of MGVTBL_SET() macros declaring
the core's various magic vtables. Convert the information into data structures
in a new script regen/mg_table.pl, and use this to generate a new file
mg_vtable.h, included by perl.h

This is the first step in reducing the number of places that data relating to
magic vtables is declared (and has to be kept in sync), and will allow more
flexibility in parts of the core's implementation.
MANIFEST
Porting/makerel
mg_vtable.h [new file with mode: 0644]
perl.h
regen.pl
regen/mg_vtable.pl [new file with mode: 0644]
t/porting/regen.t
vms/descrip_mms.template