Tool for safe ergonomic Rust/C++ interop driven from existing C++ headers
std::move
by @adetaylor in https://github.com/google/autocxx/pull/1048
Full Changelog: https://github.com/google/autocxx/compare/v0.21.1...v0.21.2
Significant improvement (though some corner cases wouldn't surprise me): where possible, treat incomprehensible typedefs as opaque types by @adetaylor in https://github.com/google/autocxx/pull/1035. Previously if we encountered a type that bindgen couldn't fully handle, we ignored that type plus any typedefs that depended upon it. Now, we still discard the type - but typedefs should continue to be somewhat usable.
Full Changelog: https://github.com/google/autocxx/compare/v0.21.0...v0.21.1
Major breaking change:
UniquePtr
. Instead they return an impl New
, so you can emplace them on the stack or in a Box
if you prefer. If in doubt, simply append .within_unique_ptr()
to go back to the old behavior. (https://github.com/google/autocxx/pull/998)Thingy&&
) are now supported (https://github.com/google/autocxx/pull/821)Bug fixes:
Full Changelog: https://github.com/google/autocxx/compare/v0.20.1...v0.21.0
ValueParam
for Pin<Box<T>>
by @adetaylor in https://github.com/google/autocxx/pull/1024
Various internal tidyings.
The next release is likely to be a significant compatibility break as we land a major part of #379.
Full Changelog: https://github.com/google/autocxx/compare/v0.20.0...v0.20.1
autocxx_gen
by @adetaylor in https://github.com/google/autocxx/pull/1012
extern_cpp_type!
by @adetaylor in https://github.com/google/autocxx/pull/1008. This allows one set of include_cpp!
bindings to delegate a type to another set obindings.Within
trait into two by @adetaylor in https://github.com/google/autocxx/pull/1013
This version includes a lot of restructuring with no intentional functional change, as prep work for eventually landing the next bit of #379.
::make_unique()
. by @adetaylor in https://github.com/google/autocxx/pull/1003
codegen_rs/fun/mod.rs
by @adetaylor in https://github.com/google/autocxx/pull/1002
autocxx_build::Builder::new
in docs by @Xaeroxe in https://github.com/google/autocxx/pull/1004
Full Changelog: https://github.com/google/autocxx/compare/v0.19.1...v0.20.0
make_unique()
functions that were previously created for each constructor, and instead introduces a new Within
trait. This will later become the only way of using constructors. (@adetaylor in https://github.com/google/autocxx/pull/997)gen
by @bsilver8192 in https://github.com/google/autocxx/pull/913
Full Changelog: https://github.com/google/autocxx/compare/v0.19.0...v0.19.1
build.rs
files.size_t
as usize
by @adetaylor in https://github.com/google/autocxx/pull/986
&str
in generated C++ code by @adetaylor in https://github.com/google/autocxx/pull/984
moveit::new::New
by @adetaylor in https://github.com/google/autocxx/pull/991
Full Changelog: https://github.com/google/autocxx/compare/v0.18.0...v0.19.0
syn
by @adetaylor in https://github.com/google/autocxx/pull/971
UniquePtr
, e.g.let xyz: UniquePtr<Foo> = ...;
moveit! {
let stack_xyz = autocxx::moveit::new::mov(xyz);
}
This is technically a breaking change though I doubt anyone much is using the MoveRef
trait a lot.
Full Changelog: https://github.com/google/autocxx/compare/v0.17.5...v0.18.0
char16_t
support by @adetaylor in https://github.com/google/autocxx/pull/957
extern_rust_{type|fun}
work without autodiscover. by @adetaylor in https://github.com/google/autocxx/pull/958
extern_rust_function
on methods. by @adetaylor in https://github.com/google/autocxx/pull/959
cargo doc
. by @adetaylor in https://github.com/google/autocxx/pull/960
Full Changelog: https://github.com/google/autocxx/compare/v0.17.4...v0.17.5
Mostly bug fixes...
concrete!
directive to give a specific name to the concrete instantiation of a templated type; by @adetaylor in https://github.com/google/autocxx/pull/943
NotAPin
error by @adetaylor in https://github.com/google/autocxx/pull/944
extern_rust_function
by @adetaylor in https://github.com/google/autocxx/pull/950
Full Changelog: https://github.com/google/autocxx/compare/v0.17.3...v0.17.4