[foreign-memaccess+abi] RFR: 8308858: FFM API and strings [v2]

Maurizio Cimadamore mcimadamore at openjdk.org
Wed Jun 7 17:47:31 UTC 2023


On Wed, 7 Jun 2023 15:58:35 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

> For `getString` we need to determine the length of the string.

That was the purpose for `numTermChars`. E.g. that determines the size of the term char, as well as the "stride" by which the string is scanned.

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

PR Comment: https://git.openjdk.org/panama-foreign/pull/836#issuecomment-1581251933


More information about the panama-dev mailing list