RFR: Fix jextract/panama to reflect latest API changes [v2]

Athijegannathan Sundararajan sundar at openjdk.org
Mon Sep 19 13:24:05 UTC 2022


On Mon, 19 Sep 2022 13:21:05 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> This patch tweaks the jextract implementation to take into account two API changes:
>> 
>> * `MemorySegment.allocateNative` no longer accepts a session parameter (in all cases we were passing an implicit session, so that's ok)
>> * `Linker.methodType` has been moved to `FunctionDescriptor::toMethodType`
>
> Maurizio Cimadamore has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fix samples

LGTM

All tests and samples fine on macOS after the latest samples change.

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

Marked as reviewed by sundar (Committer).

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


More information about the jextract-dev mailing list