RFR: jextract to spit Array for array type and function layout for callbacks

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Tue Jun 12 12:39:33 UTC 2018


Also, if the old JType.Array is meant to be unused, let's remove it.

Maurizio


On 12/06/18 13:38, Maurizio Cimadamore wrote:
> Looks good, but I'd prefer to have a separate ArrayType for describing 
> the array carrier, rather than reusing pointer for both.
>
> Maurizio
>
>
> On 12/06/18 07:09, Henry Jen wrote:
>> Hi,
>>
>> Please review the webrev[1] that will,
>>
>> - generate Array as carrier type for array instead of java array or 
>> Pointer
>> - make sure NativeCallback functional interface has a function 
>> instead of a pointer to function as layout
>>
>> Cheers,
>> Henry
>>
>> [1] 
>> http://cr.openjdk.java.net/~henryjen/panama/foreign/jextract_array/webrev/
>



More information about the panama-dev mailing list