[plt-scheme] plt-ffi-array declaration-how?
Is the FFI based on libffi, i.e., is PLT Scheme dependent on
libffi? Wasn't libffi part of gcc?
--Hans
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>