X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fobjects.lisp;h=02928bd84200193e6fe4d6e8637cb5aa8c02d1a6;hb=32a1ec81381452961a16a0dea1aff5711d4a3ed0;hp=0265259037bd09e79e7f41c26f51ae889e212a7a;hpb=603822b8bfea96aa4ee6bccec88fb372d84dcc30;p=uffi.git diff --git a/src/objects.lisp b/src/objects.lisp index 0265259..02928bd 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.8 2002/12/03 06:58:39 kevin Exp $ +;;;; $Id: objects.lisp,v 1.11 2003/03/31 19:22:24 kevin Exp $ ;;;; ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -135,6 +135,11 @@ 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))