diff options
author | Daniel Dragan <bulk88@hotmail.com> | 2015-10-25 19:57:11 -0400 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2015-10-26 14:03:08 +1100 |
commit | 0b057af72368f97c1b6f0b4c58943ced6d6c98d2 (patch) | |
tree | 0f72c26500f2a06a7c51ad7490a01bef4391ebfe /ext/arybase | |
parent | 1d532a9b3f7c7516fc5a74a94731d12ed7d0928b (diff) | |
download | perl-0b057af72368f97c1b6f0b4c58943ced6d6c98d2.tar.gz |
XS staticing in ext and dist
None of these symbols are exported on Win32 (listed in Makefile.PL with
EUMM's FUNCLIST), so they shouldn't be exported on Linux. Making them
static saves space in the SOs by removing symbol name strings, and removing
runtime plt/got indirection.
Diffstat (limited to 'ext/arybase')
-rw-r--r-- | ext/arybase/arybase.pm | 2 | ||||
-rw-r--r-- | ext/arybase/arybase.xs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/arybase/arybase.pm b/ext/arybase/arybase.pm index d905e6f2e8..a519a4b392 100644 --- a/ext/arybase/arybase.pm +++ b/ext/arybase/arybase.pm @@ -1,6 +1,6 @@ package arybase; -our $VERSION = "0.10"; +our $VERSION = "0.11"; require XSLoader; XSLoader::load(); # This returns true, which makes require happy. diff --git a/ext/arybase/arybase.xs b/ext/arybase/arybase.xs index af8ef7b1ad..4ff6cbd68a 100644 --- a/ext/arybase/arybase.xs +++ b/ext/arybase/arybase.xs @@ -195,7 +195,7 @@ STATIC OP *ab_ck_aassign(pTHX_ OP *o) { return o; } -void +STATIC void tie(pTHX_ SV * const sv, SV * const obj, HV *const stash) { SV *rv = newSV_type(SVt_RV); |