[Integrated] [foreign-jextract] 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:54:11 UTC 2020


On Fri, 5 Jun 2020 03:36:15 GMT, Athijegannathan Sundararajan <sundar at openjdk.org> wrote:

> * 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.

This pull request has now been integrated.

Changeset: 04c2fd2e
Author:    Athijegannathan Sundararajan <sundar at openjdk.org>
URL:       https://git.openjdk.java.net/panama-foreign/commit/04c2fd2e
Stats:     250 lines in 13 files changed: 60 ins; 74 del; 116 mod

8246611: jextract generated allocate methods should accept CScope and callback allocate should auto-register

Reviewed-by: mcimadamore

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

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


More information about the panama-dev mailing list