From e88c7547a91c7ea966e1606963736f136e36ac7f Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Sat, 23 Nov 2002 18:01:57 +0000 Subject: [PATCH 1/1] r3459: some bug fixes --- src/objects.lisp | 6 +++--- src/primitives.lisp | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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) -- 2.34.1