Releases: JuliaInterop/libcxxwrap-julia
Releases · JuliaInterop/libcxxwrap-julia
Release v0.7.0
See https://github.com/JuliaBinaryWrappers/libcxxwrap_julia_jll.jl for binaries.
Fix crash with enums
Fix container test OK, we verified allocating on MSVC and freeing on GCC really doen't work, as documented: http://www.mingw.org/wiki/Interoperability_of_Libraries_Created_by_Different_Compiler_Brands
Small bugfix
The only difference with the previous release is the minimal CMake version, to fix a cross-compile error for MacOS.
Fix remaining bugs in the v0.6 series
This fixes the (hopefully) last remaining bugs in the 0.6 release (including some segfaults due to undefined behavior), paving the way for CxxWrap 0.9, which contains major breaking changes.
std::valarray support and bugfixes
- Fix bugs causing
Type ... has no Julia wrapper
- Add basic
std::valarray
support
Member functions first argument can be pointer or reference
v0.6.2 Set version to v0.6.2
Windows fixes
v0.6.1 Bump version and use MSVC 2019 on Appveyor
Major update on the type system
Breaking changes
ArrayRef
no longer supports boxed values- Custom smart pointer: use
jlcxx::add_smart_pointer<MySmartPointer>(module, "MySmartPointer")
IsMirroredType
instead ofIsImmutable
andIsBits
, added using map_type. By default,IsMirroredType
is true for trivial standard layout types, so if you want to wrap these normally
(i.e. you get an unexpected errorMirrored types (marked with IsMirroredType) can't be added using add_type, map them directly to a struct instead and use map_type
) then you have to explicitly disable the mirroring for that type:
template<> struct IsMirroredType<Foo> : std::false_type { };
box
C++ function takes an explicit template argument- Defining
SuperType
on the C++ side is now necessary for any kind of casting to base class, because the previous implementation was wrong in the case of multiple inheritance.
New features
- STL support: std::vector, use
jlcxx::stl::apply_stl<World>(mod);
for manually adding types to modulemod
.
Move gcprotect code to Julia
v0.5.3 Move GC protect code to Julia
CMake fixes
PR #16