[plt-scheme] plt-ffi-array declaration-how?
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.
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://www.barzilay.org/ Maze is Life!