rust-lightning/c-bindings-gen
Matt Corallo d169966f76 [bindings] Update eq/clone trait fns to take object, not this_arg
When a trait is required to implement eq/clone (eg in the case of
`SocketDescriptor`), the generated trait struct contains an
eq/clone function which takes a `this_arg` pointer. Since the trait
object can always be read to get the `this_arg` pointer, there is
no loss of generality to pass the trait object itself, and it
provides a bit more flexibility when the trait could be one of
several implementations (which we use in the Java higher-level
bindings).
2020-11-23 11:08:34 -05:00
..
src [bindings] Update eq/clone trait fns to take object, not this_arg 2020-11-23 11:08:34 -05:00
Cargo.toml Add tool to read a Rust crate and generate C-compatible wrappers 2020-09-10 21:58:44 -04:00