rust-lightning/c-bindings-gen
Matt Corallo e57c225e0f [C++ bindings] Add move-assign operator, require rvalue for move
This adds a move-assignment operator (`A& operator=(A&& o)`) to our
C++ wrapper classes as well as requiring an rvalue for the move
auto-convert operator (`operator CStruct()() &&`).

The second makes the C++ wrapper classes much easier to work with
by requiring an explicit `std::move` when the bindings will
automatically move a C++-wrapper object into a C object.
2021-02-03 10:11:28 -05:00
..
src [C++ bindings] Add move-assign operator, require rvalue for move 2021-02-03 10:11:28 -05:00
Cargo.toml Add tool to read a Rust crate and generate C-compatible wrappers 2020-09-10 21:58:44 -04:00