X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fprimitives.cl;h=d41c75dc8eb40219aeb896840af970527a7c3f0e;hb=f73eb94e15649aba5fcfbe3a900aa72f31f46a96;hp=8a29b21318087606e6956b928cd377776206114a;hpb=ca7e9a2299773cfbc927d71e6289549601438b24;p=uffi.git diff --git a/src/primitives.cl b/src/primitives.cl index 8a29b21..d41c75d 100644 --- a/src/primitives.cl +++ b/src/primitives.cl @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Feb 2002 ;;;; -;;;; $Id: primitives.cl,v 1.13 2002/03/23 09:32:43 kevin Exp $ +;;;; $Id: primitives.cl,v 1.14 2002/03/23 16:32:39 kevin Exp $ ;;;; ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -23,7 +23,8 @@ "Macro to define a constant and to export it" `(eval-when (:compile-toplevel :load-toplevel :execute) (defconstant ,name ,value) - ,(if export (list 'export `(quote ,name)) (values)))) + ,(when export (list 'export `(quote ,name))) + ',name)) (defmacro def-type (name type) "Generates a (deftype) statement for CL. Currently, only CMUCL