Address of an object?
Martin Thornquist <[email protected]> Fri, 03 Jan 2003 13:15:30 +0100
| Newsgroups | gmane.lisp.uffi.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,
One thing I cannot figure out from the UFFI documentation is how to
get the address of an object, like the CMUCL alien:addr function seems
to do. That is, more or less the opposite of uffi:deref-pointer. (I
don't know CMUCL Alien much, but I'm porting Alien code to UFFI. For
that matter I don't know UFFI much either, it's the first time I do
foreign calling stuff from Lisp.) Well, the address is what I think I
want, but I could be wrong.
Any hints?
Martin
--
"An ideal world is left as an exercise to the reader."
-Paul Graham, On Lisp