[gambit-list] FFI

FFT fft1976 at gmail.com
Tue May 19 22:26:45 EDT 2009


I asked this in comp.lang.scheme already:

Is it possible to declare C types that are structs that include arrays
(not pointers)? Also, what about bit fields?

The answer I got in comp.lang.scheme is that one needs to use lists of
strings (?!) for the former. Perhaps I'm missing something, but this
seems to be very kludgy, even if it does work. Structs that have
arrays are pretty common in C APIs (Bit fields happen too) What's the
best approach here?



More information about the Gambit-list mailing list