[foreign-jextract] RFR: Update memory access and linker documents
Jorn Vernee
jvernee at openjdk.java.net
Thu Mar 25 15:07:36 UTC 2021
On Thu, 25 Mar 2021 14:48:10 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
>> doc/panama_ffi.md line 135:
>>
>>> 133: MemorySegment upcallStub(MethodHandle target, FunctionDescriptor function, ResourceScope scope);
>>> 134: MemorySegment upcallStub(MethodHandle target, FunctionDescriptor function);
>>> 135: ...
>>
>> We also now have the downcallHandle overload that takes a SegmentAllocator
>
> yeah - since the examples never mention it, I didn't want to dive too much into that. I think I will simplify this further and just keep two methods (but then say that there are other overloads available).
Ok, sounds good
-------------
PR: https://git.openjdk.java.net/panama-foreign/pull/475
More information about the panama-dev
mailing list