This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Convert the implementation of XS_APIVERSION_BOOTCHECK to a function.
authorNicholas Clark <nick@ccl4.org>
Fri, 8 Oct 2010 15:13:38 +0000 (16:13 +0100)
committerNicholas Clark <nick@ccl4.org>
Fri, 8 Oct 2010 15:58:10 +0000 (16:58 +0100)
commit379a89070cf5bdcfa33b12551d2c9ef0a3e11418
treecb9b0b65bb4e6d39f6ab346c09997551637e148f
parent88c4b02d8afbe13e65dd6f677f5056354ec301cb
Convert the implementation of XS_APIVERSION_BOOTCHECK to a function.

The previous macro generated over .5K of object code. This is in every shared
object, and is only called once. Hence this change increases the perl binary
by about .5K (once), to save .5K for every XS module loaded.
XSUB.h
embed.fnc
global.sym
proto.h
util.c