summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-05-13 16:50:51 +0100
committerNicholas Clark <nick@ccl4.org>2011-06-11 10:12:18 +0200
commit0ffb5b03d3cde2b28eda4897b664c02ce9f0e9dd (patch)
treed5495e1bf5161e12ececfc72339df6203c583478 /perl.h
parent0a1f728a485818674e743b9fb9a3c149f9e53b6e (diff)
downloadperl-0ffb5b03d3cde2b28eda4897b664c02ce9f0e9dd.tar.gz
Move the work of MGVTBL_SET() from the C pre-processor to mg_vtable.pl
Generating mg_vtable.h with MGVTBL_SET() effectively pre-expanded makes things clearer. This eliminates use of the macro MGVTBL_SET(), which can be deleted as nothing outside the core is relying on it.
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/perl.h b/perl.h
index c4e3d6df61..d00255b730 100644
--- a/perl.h
+++ b/perl.h
@@ -5108,12 +5108,6 @@ START_EXTERN_C
# define EXT_MGVTBL EXT MGVTBL
#endif
-#ifdef DOINIT
-# define MGVTBL_SET(var,a,b,c,d,e,f,g,h) EXT_MGVTBL var = {a,b,c,d,e,f,g,h}
-#else
-# define MGVTBL_SET(var,a,b,c,d,e,f,g,h) EXT_MGVTBL var
-#endif
-
#include "mg_vtable.h"
#include "overload.h"