From: Kevin M. Rosenberg Date: Sat, 23 Nov 2002 18:01:57 +0000 (+0000) Subject: r3459: some bug fixes X-Git-Tag: v1.6.1~256 X-Git-Url: http://git.kpe.io/?a=commitdiff_plain;h=e88c7547a91c7ea966e1606963736f136e36ac7f;hp=005eb1c1210634a27fbc973d84004b5622456fc5;p=uffi.git r3459: some bug fixes --- diff --git a/src/objects.lisp b/src/objects.lisp index eca0c8f..6c7a745 100644 --- a/src/objects.lisp +++ b/src/objects.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Feb 2002 ;;;; -;;;; $Id: objects.lisp,v 1.5 2002/11/14 22:11:07 kevin Exp $ +;;;; $Id: objects.lisp,v 1.6 2002/11/23 18:01:57 kevin Exp $ ;;;; ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -108,8 +108,8 @@ an array of TYPE with size SIZE. The TYPE parameter is evaluated." #+(or cmu scl) `(alien:deref ,ptr) #+sbcl `(sb-alien:deref ,ptr) #+lispworks `(fli:dereference ,ptr) - #+allegro `(ff:fslot-value-typed ,(convert-from-uffi-type type :deref) :c ,ptr) - #+mcl `(ccl:pref ,ptr ,(convert-from-uffi-type type :deref)) + #+allegro `(ff:fslot-value-typed (convert-from-uffi-type ,type :deref) :c ,ptr) + #+mcl `(ccl:pref ,ptr (convert-from-uffi-type ,type :deref)) ) #+mcl diff --git a/src/primitives.lisp b/src/primitives.lisp index dc91044..8ba2ba6 100644 --- a/src/primitives.lisp +++ b/src/primitives.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Feb 2002 ;;;; -;;;; $Id: primitives.lisp,v 1.5 2002/10/16 11:56:43 kevin Exp $ +;;;; $Id: primitives.lisp,v 1.6 2002/11/23 18:01:57 kevin Exp $ ;;;; ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -166,7 +166,7 @@ supports takes advantage of this optimization." (:pointer-void . (* :void)) (:cstring . (* :unsigned-char)) (:byte . :char) - (:unsigned-byte . :unsigned-byte) + (:unsigned-byte . :unsigned-char) (:char . :char) (:unsigned-char . :unsigned-char) (:int . :int) (:unsigned-int . :unsigned-int)