projects
/
uffi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r4720: Auto commit for Debian build
[uffi.git]
/
src
/
objects.lisp
diff --git
a/src/objects.lisp
b/src/objects.lisp
index 0881539df370794a00977ca1601fac4212e6caaf..02928bd84200193e6fe4d6e8637cb5aa8c02d1a6 100644
(file)
--- a/
src/objects.lisp
+++ b/
src/objects.lisp
@@
-7,7
+7,7
@@
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Feb 2002
;;;;
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Feb 2002
;;;;
-;;;; $Id: objects.lisp,v 1.1
0 2002/12/30 20:49:12
kevin Exp $
+;;;; $Id: objects.lisp,v 1.1
1 2003/03/31 19:22:24
kevin Exp $
;;;;
;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
;;;;
;;;; 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)
(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))
(defmacro pointer-address (obj)
#+(or cmu scl)
`(system:sap-int (alien:alien-sap ,obj))