[sword-svn] r2962 - trunk/bindings/swig

greg.hellings at crosswire.org greg.hellings at crosswire.org
Tue Aug 13 22:15:32 MST 2013


Author: greg.hellings
Date: 2013-08-13 22:15:32 -0700 (Tue, 13 Aug 2013)
New Revision: 2962

Modified:
   trunk/bindings/swig/swkey.i
Log:
The __str__ method kills Perl.

Modified: trunk/bindings/swig/swkey.i
===================================================================
--- trunk/bindings/swig/swkey.i	2013-08-14 05:15:18 UTC (rev 2961)
+++ trunk/bindings/swig/swkey.i	2013-08-14 05:15:32 UTC (rev 2962)
@@ -10,6 +10,7 @@
 
 %include "swkey.h"
 
+#ifndef SWIGPERL
 %extend sword::SWKey {
         %extend {
                 char *__str__() {
@@ -18,3 +19,4 @@
         }
 
 };
+#endif




More information about the sword-cvs mailing list