[Openmcl-devel] FFI question: sizeof type.
kaz at kylheku.com
Mon Nov 1 00:14:56 CDT 2010
On Sun, 31 Oct 2010 21:58:26 -0700, Kaz Kylheku <kaz at kylheku.com>
> Hi all,
> I'm parsing through some stack-allocated memory which doesn't have a
> declared structure type, but parts of it are represented by structures.
> I need to do some adress calculations, like displacing a pointer
> by the number of bytes corresponding to a type.
> What is the operator which returns the size of a foreign type?
Hmm, I totally forgot about the size calculation in that
mswin.lisp example, which uses ccl::record-length. That should do it.
More information about the Openmcl-devel