[foreign-jextract] RFR: 8244055: jextract should generate struct and union classes as nested classes of header file class

sundararajan.athijegannathan at oracle.com sundararajan.athijegannathan at oracle.com
Wed Apr 29 12:22:54 UTC 2020


Yes, there are no samples that use structs.

-Sundar

On 29/04/20 5:15 pm, Maurizio Cimadamore wrote:
> On Wed, 29 Apr 2020 05:36:29 GMT, Athijegannathan Sundararajan <sundar at openjdk.org> wrote:
>
>> * generating nested classes for structs and unions
>> * using MemoryAddress instead of MemorySegment as first argument for struct/union getters/setters
>> * added indexed field setters and getters for array element set/get
>> * added tests for struct array creation, indexed access get/set
> Looks good - I take it that none of the examples if being affected by this change, right?
>
> -------------
>
> Marked as reviewed by mcimadamore (Committer).
>
> PR: https://git.openjdk.java.net/panama-foreign/pull/134


More information about the panama-dev mailing list