[foreign-jextract] [Rev 02] RFR: 8246611: jextract generated allocate methods should accept CScope and callback allocate should auto-register

Athijegannathan Sundararajan sundar at openjdk.java.net
Fri Jun 5 09:44:37 UTC 2020


> * Moved CScope as top-level class
> * Cint, Cfloat,.. etc. use CScope instead of NativeAllocationScope
> * Callback's have CScope accepting overload of 'allocate' method.
> This allocate auto-registers callback segment with CScope.

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

  updated samples to use CScope instead of NativeAllocationScope

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

Changes:
  - all: https://git.openjdk.java.net/panama-foreign/pull/196/files
  - new: https://git.openjdk.java.net/panama-foreign/pull/196/files/5b9a6393..9a76ea24

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

  Stats: 112 lines in 2 files changed: 6 ins; 9 del; 97 mod
  Patch: https://git.openjdk.java.net/panama-foreign/pull/196.diff
  Fetch: git fetch https://git.openjdk.java.net/panama-foreign pull/196/head:pull/196

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


More information about the panama-dev mailing list