Skip to content

Unaligned pointer access in packed struct #106

Description

@GiulianoFranchetto

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions