Prefixed package name to cl symbols.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9055 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
6183f2fec4
commit
fdaf7a06f6
1 changed files with 6 additions and 6 deletions
|
|
@ -99,13 +99,13 @@
|
||||||
%insert("swiglisp") %{
|
%insert("swiglisp") %{
|
||||||
;;;SWIG wrapper code starts here
|
;;;SWIG wrapper code starts here
|
||||||
|
|
||||||
(defmacro defanonenum (&body enums)
|
(cl:defmacro defanonenum (&body enums)
|
||||||
"Converts anonymous enums to defconstants."
|
"Converts anonymous enums to defconstants."
|
||||||
`(progn ,@(loop for value in enums
|
`(cl:progn ,@(cl:loop for value in enums
|
||||||
for index = 0 then (1+ index)
|
for index = 0 then (cl:1+ index)
|
||||||
when (listp value) do (setf index (second value)
|
when (cl:listp value) do (cl:setf index (cl:second value)
|
||||||
value (first value))
|
value (cl:first value))
|
||||||
collect `(defconstant ,value ,index))))
|
collect `(cl:defconstant ,value ,index))))
|
||||||
|
|
||||||
;;;SWIG wrapper code ends here
|
;;;SWIG wrapper code ends here
|
||||||
%}
|
%}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue