[foreign-jextract] RFR: 8274280: regenarate libclang binding in jextract module
Jorn Vernee
jvernee at openjdk.java.net
Fri Sep 24 12:27:11 UTC 2021
On Fri, 24 Sep 2021 12:15:20 GMT, Athijegannathan Sundararajan <sundar at openjdk.org> wrote:
> Moved CLayouts out of the generated code package. Except for libName & copyright header, no changes to the jextract generated code now.
src/jdk.incubator.jextract/share/classes/jdk/internal/clang/libclang/CXToken.java line 40:
> 38: MemoryLayout.sequenceLayout(4, JAVA_INT).withName("int_data"),
> 39: ADDRESS.withName("ptr_data")
> 40: );
Why these changes? Shouldn't this still be using `C_INT` and `C_POINTER` ?
-------------
PR: https://git.openjdk.java.net/panama-foreign/pull/580
More information about the panama-dev
mailing list