[Prev][Next][Index][Thread]
Re: Using C structs with FD 2.0 FFI
Dear Chris and Keith,
Thank you so much for your help, and clarifying that I should just use
an input parameter. I'm not sure why I thought I should use an output
parameter, but that is what I thought. I think why I went about it that
way was that I wanted the dylan function wrapper to allocate the struct
and then return the struct after it called the C function. But now I
know the right way, and it is easy enough.
thanks again!
Sent via Deja.com http://www.deja.com/
Before you buy.
References: