My C library is using some packed struct. When I use such structure, everything goes OK in the native library, but when it comes back to the Java world, the content of the struct is false.
I tried to force @Struct(pack = 1), but I get Unaligned pointer access exceptions when trying to get some fields.
Hi,
My C library is using some packed struct. When I use such structure, everything goes OK in the native library, but when it comes back to the Java world, the content of the struct is false.
I tried to force @Struct(pack = 1), but I get Unaligned pointer access exceptions when trying to get some fields.
Is it impossible to use packed struct with BridJ?
Best regards