[foreign-jextract] RFR: Update memory access and linker documents [v3]
Jorn Vernee
jvernee at openjdk.java.net
Thu Mar 25 15:41:40 UTC 2021
On Thu, 25 Mar 2021 15:32:28 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:
>> Maurizio Cimadamore has updated the pull request incrementally with two additional commits since the last revision:
>>
>> - Another ffi fix
>> - Minor adjustments to the ffi document
>
> doc/panama_ffi.md line 216:
>
>> 214: long len = strlen_virtual.invokeExact(
>> 215: LibraryLookup.ofDefault().lookup("strlen").get() // address provided here!
>> 216: CLinker.toCString("Hello").address()
>
> The scope is not being used for the string here.
Looking at the full source code at the end, this also seems to mismatch with that.
-------------
PR: https://git.openjdk.java.net/panama-foreign/pull/475
More information about the panama-dev
mailing list