diff options
author | Sven Gothel <[email protected]> | 2023-06-16 01:16:55 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-06-16 01:16:55 +0200 |
commit | aeadfab9572e4b441b1bc1f0708cf4c72dfe181e (patch) | |
tree | 55255fa60b9753dbc812f6ba6677124b3099f3d3 /doc/manual/example3 | |
parent | 0a9105dd3ebbcf4b98664e50333334bff677031c (diff) |
GlueGen Struct [4]: JavaConfiguration Change: Drop 'ManualStaticInitCall', 'ForceStaticInitCode'; Add 'ReturnsStringOnly', 'MaxOneElement' and 'ImmutableAccess'
Drop 'ManualStaticInitCall', 'ForceStaticInitCode':
With new CCodeUnit's `JVMUtil_NewDirectByteBufferCopy(..)` implementation
and generalized Buffers' methods, no specific init code is required anymore.
Add 'ReturnsStringOnly', 'MaxOneElement' and 'ImmutableAccess':
- 'ReturnsStringOnly' only String getter, drop ByteBuffer/byte[]
- 'MaxOneElement' only one element maximum for pointer reference
- 'ImmutableAccess' strict read-only, also reduces generated code a lot
Diffstat (limited to 'doc/manual/example3')
0 files changed, 0 insertions, 0 deletions