JavaCPP v1.4.1 Release Notes
Release Date: 2018-03-29 // about 6 years ago-
- Enhance
Loader.createLibraryLink()
by allowing to create symbolic links in other directories - Fix
Parser
failing onenum
declarations where the first line is a macro (issue #230) - Make call to
Pointer.physicalBytes()
thread safe and remove lock (issue #231) - Add
Info.enumerate
to letParser
map C++ enum classes to Java enum types (issue #108) - Prevent
Loader
from loading twice copies of the same DLL (issue deeplearning4j/deeplearning4j#4776) - Add a
BuildMojo.targetDirectory
parameter to set a directory containing Java files generated bybuildCommand
- Fix missing
jnijavacpp.cpp
when processing classes from different packages (issue #228) - Enhance
Loader.addressof()
by making it try harder to find symbols on Linux and Mac OS X - Add
get()
andtoString()
methods to basic containers defined inParser
- Fix
Parser
ignoringInfo.define
and other information for macros actually defined - Fix
SharedPtrAdapter
andUniquePtrAdapter
failing to take ownership of temporary objects - Fix properties for
android-arm64
andandroid-x86_64
platforms that need API level 21 - Add "org.bytedeco.javacpp.pathsfirst" system property to let users search "java.library.path", etc before the class path
- Add
Parser
support for_Bool
,_Complex
,_Imaginary
,complex
,imaginary
types from C99 - Fix
Generator
incorrectly splitting type names for template arguments containing function types - Fix
NullPointerException
inBuilder
when copying resources for static libraries - Let
Generator
pick up@NoException
annotations from super classes as well - Add
-stdlib=libc++
option to iOS properties, required byclang++
to support C++11 (pull #221) - Make it possible to define read-only containers with
Parser
by prependingconst
(issue #223) - Fix
Parser
failure of variable or function declarations on names starting with::
, among other various small issues - Access elements of basic containers defined in
Parser
withat()
instead ofoperator[]
(issue #223) - Add third element to
@Const
annotation to supportvirtual const
functions (pull #224) - Create more symbolic links to libraries preloaded by
Loader
to satisfy libraries like MKL - Work around in
Builder
the inability to pass empty arguments on Windows - Catch more exceptions that can occur in
Loader
when caching resources (pull #226) - Add
.a
as an allowed library extension for iOS so they can get bundled - Fix
Parser
failing on variables with direct list initialization{ ... }
(issue #223) - Allow
Parser
to map and cast function pointers toPointer
- Enhance