Hello,
We've just released CFFI 0.18.0!
* enhancement: the groveller wrapper in-package directive now catches
missing packages earlier and more clearly. (Thanks to Chris Bagley.)
* enhancement: added expand-into-foreign-memory optmization hook
similar to expand-to-foreign. (Thanks to
so, take this C definition:
typedef enum {
a = 0,
b
} typeName;
it's a typedef where the type is not denoted by a name, but rather
it's an inline (anonymous) enum.
the symmetric equivalent of this definition is not possible in cffi.
it would look something like:
(cffi:defctype typeName (cff
On Sat, 15 Oct 2016 18:24:04 +0100, Attila Lendvai wrote:
> (cffi:defctype typeName (cffi:cenum a b))
[...]
> 1) extend cffi:defctype (and anything else?) to support the above
> mentioned missing feature.
It makes perfect sense to support anonymous enums, structs,
etc. Lispworks's FLI support