diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-05-13 16:50:51 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-06-11 10:12:18 +0200 |
commit | 0ffb5b03d3cde2b28eda4897b664c02ce9f0e9dd (patch) | |
tree | d5495e1bf5161e12ececfc72339df6203c583478 /perl.h | |
parent | 0a1f728a485818674e743b9fb9a3c149f9e53b6e (diff) | |
download | perl-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.h | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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" |