use PERL_NO_GET_CONTEXT
Zefram [Wed, 22 Feb 2012 20:29:54 +0000 (20:29 +0000)]
Changes
Declare.xs

diff --git a/Changes b/Changes
index d798b67..c17f500 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,6 @@
 Changes for Devel-Declare
 
+  - In XS, use PERL_NO_GET_CONTEXT for efficiency.
   - Avoid using Test::Warn, which has previously been a troublesome
     dependency.
 
index 44d0a72..47f9482 100644 (file)
@@ -1,3 +1,4 @@
+#define PERL_NO_GET_CONTEXT 1
 #include "EXTERN.h"
 #include "perl.h"
 #include "XSUB.h"