diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-10-07 16:30:32 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-10-07 16:30:32 +0100 |
commit | e9b067d91703bf151aa6769b5c49fb95a91f6fa5 (patch) | |
tree | af044dc7ae0745b91d42609bb05337360bc0f757 /embed.fnc | |
parent | 7b20c7cd49d506897c54f5ed022a5e5b5f8c594a (diff) | |
download | perl-e9b067d91703bf151aa6769b5c49fb95a91f6fa5.tar.gz |
Convert the implementation of XS_VERSION_BOOTCHECK to a function from a macro.
The macro expansion generates over 1K of object code. This is in every shared
object, and is only called once. Hence this change increases the perl binary
by about 1K (once), to save 1K for every XS module loaded.
Diffstat (limited to 'embed.fnc')
-rw-r--r-- | embed.fnc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2255,6 +2255,9 @@ Apo |void* |my_cxt_init |NN int *index|size_t size #endif #endif +Apo |void |xs_version_bootcheck|U32 items|U32 ax|NN const char *xs_p \ + |STRLEN xs_len + #ifndef HAS_STRLCAT Apno |Size_t |my_strlcat |NULLOK char *dst|NULLOK const char *src|Size_t size #endif |