RFR: Tweak jextract to reflect changes to `MemorySegment::ofAddress`

Maurizio Cimadamore mcimadamore at openjdk.org
Thu Feb 16 17:41:35 UTC 2023


This patch brings jextract in sync with the API changes in https://git.openjdk.org/panama-foreign/pull/797.

The changes are mostly trivial and, luckily, jextract bindings already shield developers from having to call `MemorySegment::ofAddress` manually, so not a lot of test changes were required.

I've also updated the samples (but I could not test them as my environment is not setup to do that). We will fix up samples issues later (if needed).

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

Commit messages:
 - Fix samples
 - Merge branch 'panama' into reinterpret
 - Initial push

Changes: https://git.openjdk.org/jextract/pull/105/files
 Webrev: https://webrevs.openjdk.org/?repo=jextract&pr=105&range=00
  Stats: 44 lines in 20 files changed: 2 ins; 1 del; 41 mod
  Patch: https://git.openjdk.org/jextract/pull/105.diff
  Fetch: git fetch https://git.openjdk.org/jextract pull/105/head:pull/105

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


More information about the jextract-dev mailing list