summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortpapp <tkpapp@gmail.com>2013-02-09 13:46:46 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2013-02-09 17:23:16 +0000
commit054f9dba1a6f2914d1ed69042162aa4f9d72e0ef (patch)
tree09af85101d9c7cf42dbcb65ac55df8b19fa47818
parent9193b3ed77b54ac46bde5af1de148a9e014daa6e (diff)
downloadswig-054f9dba1a6f2914d1ed69042162aa4f9d72e0ef.tar.gz
CFFI - Fix missing package before &body - patch #22
Should fix https://github.com/swig/swig/issues/21.
-rw-r--r--CHANGES.current9
-rw-r--r--Lib/cffi/cffi.swg2
2 files changed, 7 insertions, 4 deletions
diff --git a/CHANGES.current b/CHANGES.current
index e6aebdb06..9436c29e7 100644
--- a/CHANGES.current
+++ b/CHANGES.current
@@ -5,13 +5,16 @@ See the RELEASENOTES file for a summary of changes in each release.
Version 2.0.10 (in progress)
============================
-2013-01-29: William
+2013-02-09: wsfulton
+ [CFFI] Apply patch #22 - Fix missing package before &body
+
+2013-01-29: wsfulton
[Java] Ensure 'javapackage' typemap is used as it stopped working from version 2.0.5.
-2013-01-28: William
+2013-01-28: wsfulton
[Python] Apply patch SF #334 - Fix default value conversions "TRUE"->True, "FALSE"->False.
-2013-01-28: William
+2013-01-28: wsfulton
[Java] Apply patch SF #335 - Truly ignore constructors in directors with %ignore.
2013-01-18: Brant Kyser
diff --git a/Lib/cffi/cffi.swg b/Lib/cffi/cffi.swg
index 6ac82f45e..427a8dc17 100644
--- a/Lib/cffi/cffi.swg
+++ b/Lib/cffi/cffi.swg
@@ -152,7 +152,7 @@
%insert("swiglisp") %{
;;;SWIG wrapper code starts here
-(cl:defmacro defanonenum (&body enums)
+(cl:defmacro defanonenum (cl:&body enums)
"Converts anonymous enums to defconstants."
`(cl:progn ,@(cl:loop for value in enums
for index = 0 then (cl:1+ index)