develooper Front page | perl.perl5.porters | Postings from April 2006

[PATCH] remove some cruft from makedef.pl

Thread Next
From:
Jan Dubois
Date:
April 16, 2006 02:18
Subject:
[PATCH] remove some cruft from makedef.pl
Message ID:
022e01c66134$d7a8dec0$2217a8c0@candy
Most of the "extra globals" listed in the __DATA__ section of makedef.pl
are now listed as "A" type public API entries in embed.fnc and therefore
don't need the extra treatment anymore.

For Perl_cxinc I added the "X" flag to embed.fnc, which seems the more
logical place for this information.

I don't really comprehend all the different possible combinations for the
PerlIO symbols, so I left those untouched.

This patch also needs to run regen.pl to add Perl_cxinc to global.sym.

Cheers,
-Jan

--- embed.fnc.orig	Fri Apr 14 07:45:52 2006
+++ embed.fnc	Sun Apr 16 01:25:26 2006
@@ -165,7 +165,7 @@
 pPR	|const char*	|get_no_modify
 pPR	|U32*	|get_opargs
 ApPR	|PPADDR_t*|get_ppaddr
-EpR	|I32	|cxinc
+EXpR	|I32	|cxinc
 Afp	|void	|deb		|NN const char* pat|...
 Ap	|void	|vdeb		|NN const char* pat|NULLOK va_list* args
 Ap	|void	|debprofdump

--- makedef.pl.orig	Fri Apr 14 07:45:52 2006
+++ makedef.pl	Sun Apr 16 01:24:50 2006
@@ -1572,18 +1572,6 @@
 
 1;
 __DATA__
-# extra globals not included above.
-Perl_new_warnings_bitfield
-Perl_cxinc
-perl_alloc
-perl_alloc_using
-perl_clone
-perl_clone_using
-perl_construct
-perl_destruct
-perl_free
-perl_parse
-perl_run
 # Oddities from PerlIO
 PerlIO_binmode
 PerlIO_getpos
End of Patch.



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About