This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Generate pp_* prototypes in pp_proto.h, and remove pp.sym
authorNicholas Clark <nick@ccl4.org>
Sun, 9 Jan 2011 10:54:58 +0000 (10:54 +0000)
committerNicholas Clark <nick@ccl4.org>
Sun, 9 Jan 2011 11:46:33 +0000 (11:46 +0000)
commit897d398936dd2fc088a265fba2a7b62fa97ed458
tree38e2294c657822f375315f923e1daec3364e9ed0
parent146326cb2bb55642adc3a8dbb7adf592f2e2e4e3
Generate pp_* prototypes in pp_proto.h, and remove pp.sym

Eliminate the #define pp_foo Perl_pp_foo(pTHX) macros, and update the 13
locations that relied on them.

regen/opcode.pl now generates prototypes for the PP functions directly, into
pp_proto.h. It no longer writes pp.sym, and regen/embed.pl no longer reads
this, removing the only ordering dependency in the regen scripts. opcode.pl
is now responsible for prototypes for pp_* functions. (embed.pl remains
responsible for ck_* functions, reading from regen/opcodes)
26 files changed:
Cross/Makefile-cross-SH
MANIFEST
Makefile.SH
Makefile.micro
NetWare/Makefile
Porting/makerel
embed.h
embedvar.h
global.sym
gv.c
op.c
perlapi.c
perlapi.h
pp.sym [deleted file]
pp_ctl.c
pp_hot.c
pp_proto.h
pp_sys.c
proto.h
regen.pl
regen/embed.pl
regen/opcode.pl
vms/descrip_mms.template
win32/Makefile
win32/Makefile.ce
win32/makefile.mk