]> git.bitcoin.ninja Git - rust-lightning/commit
[bindings] Allow unused fns that the bindings can call but don't
authorMatt Corallo <git@bluematt.me>
Mon, 4 Jan 2021 20:25:23 +0000 (15:25 -0500)
committerMatt Corallo <git@bluematt.me>
Fri, 15 Jan 2021 00:49:14 +0000 (19:49 -0500)
commitf5c4d6e2cf1531aad2a667df8c9136f2883ae489
tree0b68ad019356d506b5b3dfad4885cf122943ed04
parent727526aef88f49201041ea645e1888f0e3dba301
[bindings] Allow unused fns that the bindings can call but don't

We no longer have any public `Option<Signatures>` in our code, and
thus get warnings that the two functions which support it are
unused. Instead of removing support for them (which we may need in
the future), we add `#[allow(unused)]`.
lightning-c-bindings/src/c_types/mod.rs