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

Maurizio Cimadamore mcimadamore at openjdk.java.net
Fri Jun 5 09:54:10 UTC 2020


On Fri, 5 Jun 2020 08:54:30 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.
>
> Athijegannathan Sundararajan has updated the pull request incrementally with one additional commit since the last
> revision:
>   fixed panama samples heading (sqlite3)

Looks good!

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

Marked as reviewed by mcimadamore (Committer).

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


More information about the panama-dev mailing list