JavaCPP v1.4.3 Release Notes
Release Date: 2018-10-15 // over 5 years ago-
- Add support for
linux-mips64el
withlinux-mips64el.properties
(pull #268) - Enhance
Generator
with@ByPtr
for primitive types and@NoException
forFunctionPointer
methods - Add
BooleanPointer
andBooleanIndexer
to access arrays of boolean values withsizeof(jboolean) == 1
- Let
Parser
skip overstatic_assert()
declarations of C++11 - Fix
android-arm-clang.properties
andandroid-x86-clang.properties
for builds with NDK r18 (pull #263) - Add to default
InfoMap
missingint
value type andIntPointer
pointer type forwchar_t
- Add
Loader.getLoadedLibraries()
method for debugging purposes and fix flakyBuilderTest
(issue #245) - Call
PointerScope.attach()
as part ofPointer.deallocator()
, instead ofinit()
, to support custom deallocators as well - Fix
Parser
failing when a value of anstd::pair
basic container is also anstd::pair
(issue bytedeco/javacpp-presets#614) - Fix build issues with
android-arm
and recent versions of the NDK (pull #256) - Add
platform.preloadresource
property to be able to preload libraries from other Java packages - Make
Builder
accept multiple options forplatform.link.prefix
andplatform.link.suffix
(pull #250) - Let
Loader
rename JNI libraries when "already loaded in another classloader" (issue deeplearning4j/deeplearning4j#6166) - Add new
@CriticalRegion
annotation to allow zero-copy access to data of Java arrays (pull #254) - Allow
Builder
to create links for resource libraries even when no Java classes are built - Fix
Loader.cacheResource()
creating a subdirectory named "null" when caching a top-level file - Update
README.md
with references to newly published Basic Architecture of JavaCPP and Mapping Recipes for C/C++ Libraries - Prevent
Parser
from appending annotations to setter methods of variables and for basic containers to satisfy theGenerator
- Have
Parser
wrap theinsert()
anderase()
methods of basic containers to allow modifying lists and sets - Let
Parser
create mutable instances of map containers withoutconst
prefix (issue bytedeco/javacpp-presets#595) - Fix
Parser
sometimes ignoringdefine
ofconst
containers (pull bytedeco/javacpp-presets#547) - Explain the purpose of the
intern()
methods generated for Java enums - Clarify that
Loader.load()
can throwUnsatisfiedLinkError
when interrupted - Synchronize
Loader.loadLibrary()
to fix potential race condition (pull #246)
- Add support for