[foreign-jextract] RFR: 8274280: regenarate libclang binding in jextract module

Athijegannathan Sundararajan sundar at openjdk.java.net
Fri Sep 24 12:27:11 UTC 2021


On Fri, 24 Sep 2021 12:23:08 GMT, Jorn Vernee <jvernee 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` ?

That's generated code. In this patch I am not touching jextract generated code except for copyright header + libName

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

PR: https://git.openjdk.java.net/panama-foreign/pull/580


More information about the panama-dev mailing list