X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=src%2Faggregates.lisp;h=6ee0ac79ca072cc87e1dc4850ef180674dc2ff72;hb=cf57d11caa2750f8a1777865f235089ac2a11cfb;hp=e22f22b53d875839651901c388da77c0df421e20;hpb=04b9dd33bd3a19781998caa959feb926c1fbfe5f;p=uffi.git diff --git a/src/aggregates.lisp b/src/aggregates.lisp index e22f22b..6ee0ac7 100644 --- a/src/aggregates.lisp +++ b/src/aggregates.lisp @@ -2,12 +2,12 @@ ;;;; ************************************************************************* ;;;; FILE IDENTIFICATION ;;;; -;;;; Name: aggregates.cl +;;;; Name: aggregates.lisp ;;;; Purpose: UFFI source to handle aggregate types ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Feb 2002 ;;;; -;;;; $Id: aggregates.lisp,v 1.5 2002/11/23 19:07:11 kevin Exp $ +;;;; $Id: aggregates.lisp,v 1.7 2003/06/06 21:59:18 kevin Exp $ ;;;; ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -16,8 +16,7 @@ ;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL. ;;;; ************************************************************************* -(declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0))) -(in-package :uffi) +(in-package #:uffi) (defmacro def-enum (enum-name args &key (separator-string "#")) "Creates a constants for a C type enum list, symbols are created @@ -163,7 +162,7 @@ of the enum-name name, separator-string, and field-name" #+(or cmu scl) `(alien:deref ,obj ,i) #+sbcl `(sb-alien:deref ,obj ,i) #+lispworks `(fli:dereference ,obj :index ,i) - #+allegro `(ff:fslot-value-typed (quote (convert-from-uffi-type ,type :type)) :c ,obj ,i) + #+allegro `(ff:fslot-value-typed (quote ,(convert-from-uffi-type type :type)) :c ,obj ,i) #+mcl (let* ((array-type (array-type type)) (local-type (convert-from-uffi-type array-type :allocation))