Passing a pointer to a cstruct
Luís Oliveira
luismbo at gmail.com
Tue Jun 30 06:05:36 UTC 2020
On Mon, 29 Jun 2020 at 15:03, <basho1600 at pm.me> wrote:
> (cffi:foreign-funcall
> "v4lconvert_convert"
> :POINTER convert-info
> :POINTER *camera-format*
> :POINTER *display-format*
> :POINTER raw-image
> :INT *local-length*
> :POINTER pixdata
> :INT pixbuf-size
> :INT)
>
> It is the pointers to the two '-format' items that are causing the
> trouble I think. Both of them were defined using defcstruct.
What are the values of those -format variables?
--
Luís Oliveira
http://kerno.org/~luis/
More information about the cffi-devel
mailing list