projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93659fa
)
Add PERL_NO_GET_CONTEXT to XS::Typemap
author
Nicholas Clark
<nick@ccl4.org>
Sat, 19 Mar 2011 20:36:38 +0000
(20:36 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Sat, 19 Mar 2011 21:18:19 +0000
(21:18 +0000)
For threaded platforms, this almost halves the object code size.
ext/XS-Typemap/Typemap.xs
patch
|
blob
|
history
diff --git
a/ext/XS-Typemap/Typemap.xs
b/ext/XS-Typemap/Typemap.xs
index
dbb1733
..
2f8b3bc
100644
(file)
--- a/
ext/XS-Typemap/Typemap.xs
+++ b/
ext/XS-Typemap/Typemap.xs
@@
-1,4
+1,3
@@
-
/*
XS code to test the typemap entries
@@
-7,6
+6,8
@@
*/
+#define PERL_NO_GET_CONTEXT
+
#include "EXTERN.h" /* std perl include */
#include "perl.h" /* std perl include */
#include "XSUB.h" /* XSUB include */