CFFI - Fix missing package before &body - patch #22
Should fix https://github.com/swig/swig/issues/21.
This commit is contained in:
parent
9193b3ed77
commit
054f9dba1a
2 changed files with 7 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue