RFR: 7903475: Jextract should use new byte-based layout methods

Maurizio Cimadamore mcimadamore at openjdk.org
Wed May 24 15:53:39 UTC 2023


On Wed, 24 May 2023 15:45:03 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> This PR tweaks jextract to work with the API changes in the layout API introduced in https://github.com/openjdk/jdk/pull/14013.

src/main/java/org/openjdk/jextract/clang/libclang/CXString.java line 48:

> 46:         Constants$root.C_POINTER$LAYOUT.withName("data"),
> 47:         Constants$root.C_INT$LAYOUT.withName("private_flags"),
> 48:         MemoryLayout.paddingLayout(4)

Note: all the changes in this folder are to jextract generated files.

-------------

PR Review Comment: https://git.openjdk.org/jextract/pull/120#discussion_r1204422148


More information about the jextract-dev mailing list