[Openmcl-devel] FFI help...get address to element in structure

Michael Kohout mwkohout at gmail.com
Fri Sep 18 15:24:35 PDT 2009


Hi-

Next week I'm doing a presentation to my local lisp user group
<http://tclispers.org/>on FFI(CFFI and CCL's FFI).  My example is a simple
network client and server.

Anyways, the code I'm writing requires me to get the address to a field in a
struct( &sa.sa_mask, where sa is a sigaction structure).

Does CCL's ffi system allow me to get this without munging around with the
internal layout of the structure?  If so, how?

thanks
Mike Kohout
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20090918/7bbdb238/attachment.htm>


More information about the Openmcl-devel mailing list