Replace DEFCONSTANT with DEFPARAMETER because it constains a call to C-INLINE

This commit is contained in:
Juan Jose Garcia Ripoll 2009-06-28 21:44:06 +02:00
parent f6ff6e4ffc
commit 19cbcd5a7c

View file

@ -49,7 +49,7 @@
`(progn
,@(loop
for (lisp-name c-name) on args by #'cddr
collect `(defconstant ,lisp-name (c-inline () () :int ,c-name :one-liner t)))))
collect `(defparameter ,lisp-name (c-inline () () :int ,c-name :one-liner t)))))
(defmacro c-constant (name)
`(c-inline () () :int ,name :one-liner t)))