[foreign-jextract] RFR: 8261642: improve jextract source generation mode and remove class generation [v2]
jvernee at openjdk.java.net
Mon Feb 15 14:22:45 UTC 2021
On Mon, 15 Feb 2021 14:17:37 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
>> there could be collisions, yes - not sure I get what you propose by using "id/number"
> I see what you mean - I thought you meant collisions in case an header contains `foo` and `foo_constants` - but you mean conflicts between members that have same native name.
Yes. With id/number I mean what [MultiFileConstantHelper::getConstantClassName()](https://github.com/openjdk/panama-foreign/pull/450/files#diff-0c06a52b2e1c4375f51e101bbbd60d6dc8405e9ace3d6d6a8608e2b184146263L62) was doing before, i.e. using the number of constant classes emitted so far as a suffix id.
More information about the panama-dev