RFR [nicl] Nested structs, unions and enums inside other structs, unions are not handled properly.

Henry Jen henry.jen at oracle.com
Tue Apr 3 05:19:01 UTC 2018


I had a look and are doing some test to confirm, this patch doesn’t work for anonymous struct,

struct Foo {
    struct {
        int x;
        int y;
    };
} foo;

In C, you will access this as foo.x or foo.y.

Cheers,
Henry


> On Apr 2, 2018, at 9:17 PM, Sundararajan Athijegannathan <sundararajan.athijegannathan at oracle.com> wrote:
> 
> Gentle reminder...
> 
> -Sundar
> 
> On 28/03/18, 10:52 PM, Sundararajan Athijegannathan wrote:
>> Please review.
>> 
>> Webrev: http://cr.openjdk.java.net/~sundar/jextract_nested_structs/webrev.00/
>> 
>> Thanks,
>> -Sundar



More information about the panama-dev mailing list