From 598921a7d8d43baa942b750d26a55dadca2c13d5 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Tue, 7 Mar 2006 23:24:55 +0000 Subject: Some of the MAD structures in headers, plus PL_madskills and PL_xmlfp, and default definitions for the 2 variables. (Which will save a lot of conditional complilation, by instead letting the C compiler optimiser remove dead code.) p4raw-id: //depot/perl@27408 --- perlapi.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'perlapi.h') diff --git a/perlapi.h b/perlapi.h index fa28363d96..ae4d932c78 100644 --- a/perlapi.h +++ b/perlapi.h @@ -394,6 +394,8 @@ END_EXTERN_C #define PL_localpatches (*Perl_Ilocalpatches_ptr(aTHX)) #undef PL_lockhook #define PL_lockhook (*Perl_Ilockhook_ptr(aTHX)) +#undef PL_madskills +#define PL_madskills (*Perl_Imadskills_ptr(aTHX)) #undef PL_main_cv #define PL_main_cv (*Perl_Imain_cv_ptr(aTHX)) #undef PL_main_root @@ -666,6 +668,8 @@ END_EXTERN_C #define PL_warnhook (*Perl_Iwarnhook_ptr(aTHX)) #undef PL_widesyscalls #define PL_widesyscalls (*Perl_Iwidesyscalls_ptr(aTHX)) +#undef PL_xmlfp +#define PL_xmlfp (*Perl_Ixmlfp_ptr(aTHX)) #undef PL_yycharp #define PL_yycharp (*Perl_Iyycharp_ptr(aTHX)) #undef PL_yylvalp -- cgit v1.2.1