]> git.bitcoin.ninja Git - rust-lightning/commit
[bindings] Be explicit when calling trait methods in generated code
authorMatt Corallo <git@bluematt.me>
Fri, 26 Feb 2021 23:16:14 +0000 (18:16 -0500)
committerMatt Corallo <git@bluematt.me>
Mon, 1 Mar 2021 00:44:45 +0000 (19:44 -0500)
commit6dd9c2e97c6b56b8a2c456663ea85ff1c46b7462
tree2f4f39912e84481ce4ace6465889839c49a5017d
parentc21b866c6088b4171e798cdad286df06906b8388
[bindings] Be explicit when calling trait methods in generated code

For ChannelManager, at least, we have two separate functions called
block_connected, one in the Listen trait, one in the struct, we
need to be explicit with which one we're trying to call.
c-bindings-gen/src/main.rs