[plt-scheme] plt-ffi-array declaration-how?

From: Hans Oesterholt-Dijkema (hdnews at gawab.com)
Date: Tue Jul 10 12:16:57 EDT 2007

Is the FFI based on libffi, i.e., is PLT Scheme dependent on
libffi? Wasn't libffi part of gcc?


Eli Barzilay schreef:
> On Jul 10, raja wrote:
>> Hi,
>> This is regarding FFI in plt scheme.
>> I want to define a Cstruct which has an array of 5 bytes as one of the 
>> slot.
>> As i see there are no array types. I used 5 one _byte slots as a 
>> temporary fix, which, I feel is not the correct form.
>> Any suggestions on the proper array declaration format?
> Yes, there is no array type.  The problem starts with libffi not
> having an array type, and your solution is as good as any.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20070710/2d0fe010/attachment.html>

Posted on the users mailing list.