summaryrefslogtreecommitdiff
path: root/Porting
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-05-13 14:17:22 +0100
committerNicholas Clark <nick@ccl4.org>2011-06-11 10:12:17 +0200
commit8b09643d068d86543c3782211d4a527ee93fee77 (patch)
tree32056686eb6f479513c1c0d5c0a05fd94ec70674 /Porting
parent4de01b548a201d0dc90101ced2980c754fbf0e00 (diff)
downloadperl-8b09643d068d86543c3782211d4a527ee93fee77.tar.gz
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.
Diffstat (limited to 'Porting')
-rwxr-xr-xPorting/makerel1
1 files changed, 1 insertions, 0 deletions
diff --git a/Porting/makerel b/Porting/makerel
index ec4dc5ed9b..1e7ca7ce13 100755
--- a/Porting/makerel
+++ b/Porting/makerel
@@ -142,6 +142,7 @@ my @writables = qw(
global.sym
overload.c
overload.h
+ mg_vtable.h
perlapi.h
perlapi.c
cpan/Devel-PPPort/module2.c