Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
1 parent
19daca8
commit ed019cc
Showing
5 changed files
with
106 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters