Withdrawn: 7903239: ofAddress factory of function pointer type is wrong for struct returns

duke duke at openjdk.org
Tue Jan 2 03:14:06 UTC 2024


On Fri, 29 Jul 2022 04:47:22 GMT, Marco <duke at openjdk.org> wrote:

> When generating the lambda inside the `ofAddress` factory, it is missing the `SegmentAllocator` needed when the function returns a struct. This is [implemented for regular functions](https://github.com/openjdk/jextract/blob/0582eaf1b4cdba95f0ee8c2480767433bb647d0d/src/main/java/org/openjdk/jextract/impl/HeaderFileBuilder.java#L122-L127), but not for function pointers.

This pull request has been closed without being integrated.

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

PR: https://git.openjdk.org/jextract/pull/58


More information about the jextract-dev mailing list