]> git.bitcoin.ninja Git - ldk-c-bindings/commit
Expose struct method calls on trait structs to C++ directly
authorMatt Corallo <git@bluematt.me>
Wed, 21 Jul 2021 18:51:54 +0000 (18:51 +0000)
committerMatt Corallo <git@bluematt.me>
Sat, 7 Aug 2021 21:08:20 +0000 (21:08 +0000)
commit75e8cf5acf256d8ecaf0c68e60997f6423e83c04
tree320b06ef7c866cd9891b7c3a54e15ef009a614e2
parente9ba970572697c221b51c9a780c39f23b4bb1b97
Expose struct method calls on trait structs to C++ directly

We can add method calls for non-trait structs later, but this is
particularly useful as otherwise you need to extract both the
method and the `this_arg` to make the call.
c-bindings-gen/src/blocks.rs
c-bindings-gen/src/main.rs
genbindings.sh