This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Simplify embedvar.h, removing a level of macro indirection for PL_* variables.
authorNicholas Clark <nick@ccl4.org>
Sun, 7 Aug 2011 19:09:03 +0000 (21:09 +0200)
committerNicholas Clark <nick@ccl4.org>
Thu, 11 Aug 2011 09:38:46 +0000 (11:38 +0200)
commit115ff745268490ae5fb5ecaee00be54172e302e0
tree18788de5ba03a4598d0cdd3b776e2dd257df050f
parente469e61f2b416389b7fb67acaf0d21735066e6ee
Simplify embedvar.h, removing a level of macro indirection for PL_* variables.

For the default (non-multiplicity) configuration, PERLVAR*() macros now
directly expand their arguments to tokens such as C<PL_defgv>, instead of
expanding to C<PL_Idefgv>. This removes over 350 lines from F<embedvar.h>,
which defined macros to map from C<PL_Idefgv> to C<PL_defgv> and so forth.
17 files changed:
NetWare/interface.c
NetWare/interface.cpp
cpan/Devel-PPPort/parts/inc/variables
embedvar.h
ext/B/B.pm
ext/B/B.xs
intrpvar.h
makedef.pl
perl.c
perl.h
perlapi.c
perlapi.h
perlvars.h
pod/perldelta.pod
regen/embed.pl
util.c
win32/perllib.c