RFR: 7903755: multi header support and special syntax for header file [v2]

Athijegannathan Sundararajan sundar at openjdk.org
Wed Jun 19 15:13:39 UTC 2024


On Wed, 19 Jun 2024 10:20:11 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> Athijegannathan Sundararajan has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   fixed tests for Windows.
>
> src/main/java/org/openjdk/jextract/JextractTool.java line 89:
> 
>> 87:     }
>> 88: 
>> 89:     private static Path generateTmpSource(List<String> headers) {
> 
> This creates a temp file. It would be good to avoid this and maybe use clang APIs to parse in-memory files?

we're using the same trick for macro re-parser. I'll try to revisit this in a future PR

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

PR Review Comment: https://git.openjdk.org/jextract/pull/249#discussion_r1646369595


More information about the jextract-dev mailing list