From: Kevin M. Rosenberg Date: Mon, 31 Mar 2003 19:22:24 +0000 (+0000) Subject: r4302: *** empty log message *** X-Git-Tag: v1.6.1~232 X-Git-Url: http://git.kpe.io/?a=commitdiff_plain;h=f7a5481c4ede7cf15256922861088e8601313ac8;hp=6c6ce0383c021a161278435ba068f1e291191bac;p=uffi.git r4302: *** empty log message *** --- diff --git a/src/objects.lisp b/src/objects.lisp index 0881539..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.10 2002/12/30 20:49:12 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))