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

Maurizio Cimadamore mcimadamore at openjdk.java.net
Wed Apr 29 11:45:40 UTC 2020


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