RFR: 7904079: Fix setting up length parameter for CXUnsavedFiles Struct [v4]
Varada M
varadam at openjdk.org
Fri Sep 19 14:06:20 UTC 2025
On Thu, 18 Sep 2025 12:17:48 GMT, Varada M <varadam at openjdk.org> wrote:
>> CXUnsavedFile struct contains three members, first two are pointers and last one is unsigned long. When jextract makes downcall to clang_reparseTranslationUnit_Impl it sets up the third parameter in the struct incorrectly. It sets INT instead of LONG so on big endian platform the parameter will be set differently.
>>
>> JBS Issue : [CODETOOLS-7904079](https://bugs.openjdk.org/browse/CODETOOLS-7904079)
>
> Varada M has updated the pull request incrementally with one additional commit since the last revision:
>
> 7904079: Fix setting up length parameter for CXUnsavedFiles Struct
I’ve incorporated the suggested code changes, thank you for pointing these out. Build is successful from my end. I haven't tested on windows yet. Will update the status of windows soon.
-------------
PR Comment: https://git.openjdk.org/jextract/pull/289#issuecomment-3312330861
More information about the jextract-dev
mailing list