[cffi-devel] Add complex aggregate objects support
Luís Oliveira
luismbo at gmail.com
Sun Jan 22 11:03:03 UTC 2012
Hello Клочков,
2012/1/22 Клочков Роман <monk at slavsoft.surgut.ru>:
> The only problem for me is mem-ref. When there is an array of structs, I need
> to use something like cffi::aggregatep to set fact, that struct are positioned
> in row, not pointers to them.
This is an issue we're addressing in the 'fsbv' branch. There, when
you define a FOO structure, (:STRUCT FOO) denotes the aggregate type,
and plain FOO is deprecated but interpreted to mean (:POINTER (:STRUCT
FOO)).
Cheers,
--
Luís Oliveira
http://r42.eu/~luis/
More information about the cffi-devel
mailing list