jextract generates downcallHandles where I need upcallStubs
Sebastian Stenzel
sebastian.stenzel at gmail.com
Thu Dec 24 15:36:32 UTC 2020
Hi Maurizio,
I just managed to build and test it myself and can confirm that the function interfaces get generated now. :-)
I will give a panama-based FUSE binding a try in the next couple of weeks. I already achieved very promising results earlier this year (before jextract was based on foreign memory and foreign linker API).
Have a nice holiday season!
Sebastian
> On 16. Dec 2020, at 16:28, Maurizio Cimadamore <maurizio.cimadamore at oracle.com> wrote:
>
> Hi Sebastian,
> this has been fixed few hours ago. If you are building the panama repo from scratch, it should now contain the fix.
>
> Cheers
> Maurizio
>
> On 15/12/2020 13:02, Sebastian Stenzel wrote:
>> Great to hear this is merely a bug. Thanks for digging into this despite my inaccurate wording.
>>
>>
>>> On 15. Dec 2020, at 13:54, Maurizio Cimadamore <maurizio.cimadamore at oracle.com> wrote:
>>>
>>>
>>> On 15/12/2020 12:45, Maurizio Cimadamore wrote:
>>>> This is, I think, the bit of ingredient that's missing - and I think it's a plain bug: while jextract looks at regular function to see if their signature mentions a function pointer, the same is not done for struct fields.
>>> Filed this:
>>>
>>> https://bugs.openjdk.java.net/browse/JDK-8258405
>>>
>>> Thanks again
>>> Maurizio
>>>
More information about the panama-dev
mailing list