X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=src%2Fobjects.lisp;h=4930962437287a78af3c4233be16a14d83c7ea42;hb=a765db8f570aa6941a33bf7f8ec92457e6317cda;hp=cb6cd7f95c9c81bd92e1ae409b4023576eb511c4;hpb=51a8e53201f8883fbd093fe45936d98128a8a5fe;p=uffi.git diff --git a/src/objects.lisp b/src/objects.lisp index cb6cd7f..4930962 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.13 2003/06/06 21:59:18 kevin Exp $ +;;;; $Id: objects.lisp,v 1.15 2003/07/08 12:37:21 kevin Exp $ ;;;; ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -118,11 +118,11 @@ an array of TYPE with size SIZE. The TYPE parameter is evaluated." #+mcl (defsetf deref-pointer deref-pointer-set) -#+(or (and mcl (not openmcl))) ;; with LW, deref is a character +#+(or lispworks (and mcl (not openmcl))) ;; with LW, deref is a character (defmacro ensure-char-character (obj) obj) -#+(or allegro lispworks cmu sbcl scl openmcl) +#+(or allegro cmu sbcl scl openmcl) (defmacro ensure-char-character (obj) `(code-char ,obj)) @@ -134,11 +134,6 @@ an array of TYPE with size SIZE. The TYPE parameter is evaluated." (defmacro ensure-char-integer (obj) obj) -;; Returns the numeric value of a byte at a pointer -;; Highly optimized -(defmacro byte-value-at-pointer (ptr) - ) - (defmacro pointer-address (obj) #+(or cmu scl) `(system:sap-int (alien:alien-sap ,obj))