Subject:
[ruby-ffi] mapping of unsigned char encoded_data[178][143] in a struct
From:
DomRibaut
Date:
8/1/11 7:23 PM
To:
ruby-ffi

Hello
I need to read a field defined as shown above in a struct.
I used :encoded_data, [[:uchar, 178], 143] but when I try to access it
I get an error message ArgumentError: get not supported for
FFI::ArrayType
the type of the array is FFI::Struct::InlineArray.
I would greatly apreciate any advice for this mapping or any pointer
to the relevant documentation.

BR.
Dominique