From bcd9fb3deb580f2976e7505a7433795ed6ad1bb3 Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Mon, 30 Sep 2002 09:08:48 +0000 Subject: [PATCH] r2908: *** empty log message *** --- src/objects.cl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/objects.cl b/src/objects.cl index 6f1e8ce..0323da9 100644 --- a/src/objects.cl +++ b/src/objects.cl @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Feb 2002 ;;;; -;;;; $Id: objects.cl,v 1.25 2002/09/30 08:50:00 kevin Exp $ +;;;; $Id: objects.cl,v 1.26 2002/09/30 09:08:48 kevin Exp $ ;;;; ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -22,8 +22,8 @@ (defun size-of-foreign-type (type) #+lispworks (fli:size-of type) #+allegro (ff:sizeof-fobject type) - #+cmu (alien:alien-size type) - #+clisp (values (ffi:size-of type)) + #+cmu (ash (eval `(alien:alien-size ,type)) -3) ;; convert from bits to bytes + #+clisp (values (ffi:size-of type)) #+(and mcl (not openmcl)) (let ((mcl-type (ccl:find-mactype type nil t))) (if mcl-type -- 2.34.1