Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle arrays in structures with differing size #1438

Commits on May 11, 2022

  1. Handle arrays in structures with differing size

    libffi uses ffi_type structures to describe arrays and structures passed
    to native. JNA builds these structures and caches them using the
    associated classes as keys. For arrays this leads to the situation where
    only a single ffi_type was stored for all sizes of the same base type.
    This in turn causes wrong behavior in libffi.
    matthiasblaesing committed May 11, 2022
    Copy the full SHA
    ed019cc View commit details
    Browse the repository at this point in the history