Releases
1.5.8
saudet
released this
02 Nov 14:39
November 2, 2022 version 1.5.8
Add static long Pointer.getDirectBufferAddress(Buffer)
method for convenience (pull #629 )
Fix UniquePtrAdapter
incorrectly deallocating pointers on callbacks (issue #613 )
Fix Generator
incorrectly casting @ByVal
or @ByRef
annotated FunctionPointer
arguments (issue bytedeco/javacpp-presets#1244 )
Fix Generator
compiler errors for FunctionPointer
with @UniquePtr
arguments (issue #613 )
Fix Generator
compiler errors on Mac for Clang without Objective-C support (pull #610 )
Prevent Parser
from outputting cast methods for base classes that are Info.skip
(pull #607 )
Ensure Generator
and Parser
process header files from cinclude
before include
(issue #580 )
Remove sun.misc.Unsafe
config incompatible/unneeded with GraalVM Native Image 22.x (issue bytedeco/sample-projects#63 )
Define default SHARED_PTR_NAMESPACE
, UNIQUE_PTR_NAMESPACE
, OPTIONAL_NAMESPACE
to std
on supported compilers (issue #577 )
Let Generator
treat long
arguments and return values @ByVal
or @ByRef
with @Cast("...*")
(issue #576 )
Add BytePointer.getUnsigned()
and putUnsigned()
methods for convenience (pull #574 )
Let Parser
consider alignas
as an explicit attribute to be ignored by default (issue bytedeco/javacpp-presets#1168 )
Add "org.bytedeco.javacpp.findLibraries" system property to disable search for libraries (pull #565 )
Fix Generator
causing memory leaks for String
parameters on callback (issue bytedeco/javacpp-presets#1141 )
Add Loader.new/access/deleteGlobalRef()
methods to store JNI Object
references in Pointer
(issue bytedeco/javacpp-presets#1141 )
Make Loader.findLibrary()
also search in "sun.boot.library.path" for jlink (pull #565 )
Add __int8
, __int16
, __int32
, and __int64
to InfoMap
as "basic/types" to support combinations allowed by Visual Studio
Add "org.bytedeco.javacpp.cacheLibraries" system property to disable cache for libraries (pull bytedeco/gradle-javacpp#21 )
Add public getters for the address fields of Pointer.NativeDeallocator
(discussion bytedeco/javacpp-presets#1160 )
Add support for std::function
basic container instances with corresponding FunctionPointer
(issue bytedeco/javacpp-presets#1051 )
Fix Builder
parsing of command line options for platform properties (issue #564 )
Use thread local in Generator
to detach automatically native threads on exit for Windows as well (pull #562 )
Add compiler options for C++14 and C++17 to platform properties files for Visual Studio
Fix Parser
incorrectly shortening type names for nested class template instances
Make Parser
output boolean has_value()
methods for basic containers like std::optional
Add OptionalAdapter
and corresponding @Optional
annotation for containers like std::optional
Switch to AttachCurrentThreadAsDaemon()
when attaching native threads on callback (pull #561 )
Add to InfoMap
default pointer and value types for integer types in std::
namespace
Fix Android platform properties for NDK r23b
You can’t perform that action at this time.