From 054f9dba1a6f2914d1ed69042162aa4f9d72e0ef Mon Sep 17 00:00:00 2001 From: tpapp Date: Sat, 9 Feb 2013 13:46:46 +0100 Subject: [PATCH] CFFI - Fix missing package before &body - patch #22 Should fix https://github.com/swig/swig/issues/21. --- CHANGES.current | 9 ++++++--- Lib/cffi/cffi.swg | 2 +- 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)