JavaCPP v1.5.2 Release Notes
Release Date: 2019-11-05 // over 4 years ago-
November 5, 2019 version 1.5.2
- Provide
ByteIndexer
with value getters and setters for unsignedbyte
orshort
,half
,bfloat16
, andboolean
types as well - Introduce
PointerScope.extend()
to prevent deallocation on the next call toclose()
- ๐ Make
Generator
avoid ambiguous conversion errors fromUniquePtrAdapter
tostd::unique_ptr
(pull #353) - ๐ Fix
Parser
using fully qualified names for@Name
annotations of nested classes (issue #352) - Add
Parser
support for macro expansion of__VA_ARGS__
- ๐ Fix
Builder
not processing all classes when given.**
as input (issue bytedeco/javacv#1311) - Introduce reference counting in
Pointer
and retrofitPointerScope
to use it - ๐ Fix
Parser
incorrectly inheriting default constructors multiple times withusing
- ๐ Allow in
Parser
fully qualified names asInfo.valueTypes
for enumerators as well - 0๏ธโฃ Perform template substitution in
Parser
also for default argument values (pull #343) - Introduce
PointerScope.forClasses
to limit thePointer
classes that can be attached to a given instance - โ Add support for custom
Allocator
toVectorAdapter
and customDeleter
toUniquePtrAdapter
- ๐ Enable support for OSGi bundles (pull #332)
September 5, 2019 version 1.5.1-1
- ๐ Use the native thread ID as name on
AttachCurrentThread()
(pull #339) - ๐ Make sure we
canRead()
,canWrite()
, andcanExecute()
whatLoader.getCacheDir()
returns - Prevent
Generator
from copying data unnecessarily when returning Java arrays from adapters (issue #317) - ๐ Fix
Parser
issues when castingconst
pointers or enumerating anonymousenum
declarations - โ Add
Info.objectify
to map global functions without using thestatic
modifier, similarly to Scala companion objects - ๐ Allow once more
abstract
subclasses ofFunctionPointer
(issue #318)
- Provide