RFR: 7903626: Add struct helper method to reintrepret an array of structs [v3]
Jorn Vernee
jvernee at openjdk.org
Tue Jan 16 16:07:02 UTC 2024
> This patch renames the existing `ofAddress` method we generate in struct classes to `reinterpret` to reflect the latest naming changes in the FFM API. It also adds another overload that takes an element count, for reinterpreting arrays. Finally, this patch adds the missing cleanup parameter that the underlying reinterpret method accepts.
Jorn Vernee has updated the pull request incrementally with one additional commit since the last revision:
bump copyright years
-------------
Changes:
- all: https://git.openjdk.org/jextract/pull/178/files
- new: https://git.openjdk.org/jextract/pull/178/files/e9678b4d..7ee6f147
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jextract&pr=178&range=02
- incr: https://webrevs.openjdk.org/?repo=jextract&pr=178&range=01-02
Stats: 3 lines in 3 files changed: 0 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jextract/pull/178.diff
Fetch: git fetch https://git.openjdk.org/jextract.git pull/178/head:pull/178
PR: https://git.openjdk.org/jextract/pull/178
More information about the jextract-dev
mailing list