[foreign-jextract] [Rev 01] 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 08:54:30 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:

  fixed panama samples heading (sqlite3)

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

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

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

  Stats: 3 lines in 2 files changed: 0 ins; 0 del; 3 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