RFR: 7903606: Move layout and function descriptor generation closer to code builders

Maurizio Cimadamore mcimadamore at openjdk.org
Mon Dec 11 19:16:46 UTC 2023


On Mon, 11 Dec 2023 17:38:56 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

>> test/testng/org/openjdk/jextract/test/toolprovider/Test7903257/TestDocComments.java line 72:
>> 
>>> 70:             "typedef unsigned long long size_t;",
>>> 71:             "typedef int INT_32;",
>>> 72:             "typedef int* INT_PTR;"));
>> 
>> opaque structs are now skipped, so there's no interface for them
>
> Shouldn't we still have a primitive typedef? i.e.:
> 
> 
> public static final AddressLayout OPAQUE_PTR = Foo_h.C_POINTER;

That's a spurious change, I will revert

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

PR Review Comment: https://git.openjdk.org/jextract/pull/156#discussion_r1423013409


More information about the jextract-dev mailing list