;;;;
;;;; Copyright (c) 2002 Kevin M. Rosenberg
;;;;
-;;;; $Id: primitives.cl,v 1.1 2002/03/10 21:48:50 kevin Exp $
+;;;; $Id: primitives.cl,v 1.2 2002/03/10 22:29:47 kevin Exp $
;;;;
;;;; This file is part of the UFFI.
;;;;
#+(or lispworks allegro)
(declare (ignore type name))
#+cmu
- `(declare (type (alien ,type) ,name))
+ `(declare (type (alien:alien ,type)) ,name)
)
(defmacro slot-type (type)
'((* . *) (:void . c-call:void)
(:short . c-call:short)
(:pointer-void . (* t))
- (:cstring . c-call:cstring)
+ (:cstring . c-call:c-string)
(:char . c-call:char)
(:unsigned-char . (alien:unsigned 8))
(:byte . (alien:unsigned 8))