diff options
author | Sven Gothel <[email protected]> | 2023-06-17 07:03:05 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-06-17 07:03:05 +0200 |
commit | f364dd017e548d1b61b0b01ecd4ab2dbe4924d76 (patch) | |
tree | f08d7697bef77b6f4968d042f602fab6901e1db8 | |
parent | 6e8d3491863f21283edfd8aa0116599248fdc6fe (diff) |
doc/GlueGen_Mapping.md: Remove note regarding shrinking array, resolved
-rw-r--r-- | doc/GlueGen_Mapping.html | 5 | ||||
-rw-r--r-- | doc/GlueGen_Mapping.md | 4 |
2 files changed, 0 insertions, 9 deletions
diff --git a/doc/GlueGen_Mapping.html b/doc/GlueGen_Mapping.html index 57d2089..28e1e62 100644 --- a/doc/GlueGen_Mapping.html +++ b/doc/GlueGen_Mapping.html @@ -637,11 +637,6 @@ href="#returnedarraylength-symbol-expression">ReturnedArrayLength Setting</a> above.</p></li> <li><p>To release native memory with <em>java ownership</em>, i.e. a native ByteBuffer, <code>releaseVal()</code> can be used.</p></li> -<li><p>To shrink a <em>Pointer</em> & <em>VariaElemCount</em> -pointer-array elemCount size with <em>java ownership</em> , the memory -must be cleared with <code>releaseVal()</code> first. This is due to -<code>setVal(src, srcPos, destPos, len)</code> reusing the existing -memory in case <code>destPos + len < elemCount</code>.</p></li> </ul> <h3 id="struct-java-signature-table">Struct Java Signature Table</h3> <p>Please find below signature table as generated by the <em>C diff --git a/doc/GlueGen_Mapping.md b/doc/GlueGen_Mapping.md index faa4ca3..96327ea 100644 --- a/doc/GlueGen_Mapping.md +++ b/doc/GlueGen_Mapping.md @@ -297,10 +297,6 @@ A direct C code `char` array or indirect array via pointer can be interpreted as See [ReturnedArrayLength Setting](#returnedarraylength-symbol-expression) above. * To release native memory with *java ownership*, i.e. a native ByteBuffer, `releaseVal()` can be used. - -* To shrink a *Pointer* & *VariaElemCount* pointer-array elemCount size with *java ownership* , - the memory must be cleared with `releaseVal()` first. This is due to `setVal(src, srcPos, destPos, len)` - reusing the existing memory in case `destPos + len < elemCount`. ### Struct Java Signature Table |