[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: More detailed examples of ffi
From: |
Ludovic Courtès |
Subject: |
Re: More detailed examples of ffi |
Date: |
Fri, 04 Mar 2011 00:13:07 +0100 |
User-agent: |
Gnus/5.110013 (No Gnus v0.13) Emacs/23.2 (gnu/linux) |
Hi!
<address@hidden> writes:
> The other day, aidalgol and I were chatting on irc about the new ffi.
> The question came up about how to define and access nested structures.
> I couldn't tell from reading the manual if it can be done.
There are ‘parse-c-struct’ and ‘make-c-struct’ examples in
‘foreign.test’, but no tests for ‘write-c-struct’ (argh!).
> Could some more complex examples be put in the manual that more fully
> exposes the capabilities of the ffi?
Agreed. Patches welcome! :-)
Ludo’.