[foreign-jextract] [Rev 02] RFR: 8245066: struct/union/array address accessor should be x$ADDR() for consistency

Athijegannathan Sundararajan sundar at openjdk.java.net
Fri May 15 11:58:55 UTC 2020


> * renamed struct/union/array accessor as x$ADDR
> * Piggybacking to add a jextract based test for bug 8244938

Athijegannathan Sundararajan has updated the pull request incrementally with one additional commit since the last
revision:

  * x$ADDR() for all global variables (of any type - int/struct/union...)
  * x$addr(structAddr) for struct members - same name lower case
  (suggestive of related but non-constant address)

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

Changes:
  - all: https://git.openjdk.java.net/panama-foreign/pull/166/files
  - new: https://git.openjdk.java.net/panama-foreign/pull/166/files/8cabdce3..24dd2b7b

Webrevs:
 - full: https://webrevs.openjdk.java.net/panama-foreign/166/webrev.02
 - incr: https://webrevs.openjdk.java.net/panama-foreign/166/webrev.01-02

  Stats: 4 lines in 3 files changed: 0 ins; 0 del; 4 mod
  Patch: https://git.openjdk.java.net/panama-foreign/pull/166.diff
  Fetch: git fetch https://git.openjdk.java.net/panama-foreign pull/166/head:pull/166

PR: https://git.openjdk.java.net/panama-foreign/pull/166


More information about the panama-dev mailing list