RFR: 7903704: Expose addresses of native functions [v3]
Jorn Vernee
jvernee at openjdk.org
Fri Apr 5 10:47:35 UTC 2024
> Add accessors for the address of a native function. This follows the jextract principle of exposing all the information that it has.
>
> The address is useful in cases where a user needs to pass the address of a native function to be used as a callback by another (higher-order) native function.
>
> Note: while working on this I noticed that the `TestUtils` file was not being rebuilt when dependent tests were running. Many tests depend on this file to compile generated source code for instance. I've added the needed `@build` tags, and `lib.build` property (the latter only works for the tests under `TestNG.dirs`).
Jorn Vernee has updated the pull request incrementally with one additional commit since the last revision:
add missing build dependencies to tests
-------------
Changes:
- all: https://git.openjdk.org/jextract/pull/228/files
- new: https://git.openjdk.org/jextract/pull/228/files/2fd79c50..01f908d2
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jextract&pr=228&range=02
- incr: https://webrevs.openjdk.org/?repo=jextract&pr=228&range=01-02
Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jextract/pull/228.diff
Fetch: git fetch https://git.openjdk.org/jextract.git pull/228/head:pull/228
PR: https://git.openjdk.org/jextract/pull/228
More information about the jextract-dev
mailing list