]> git.bitcoin.ninja Git - ldk-c-bindings/commit
Crack `ReadableArgs` params when they're tuples
authorMatt Corallo <git@bluematt.me>
Tue, 29 Mar 2022 22:33:27 +0000 (22:33 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 29 Mar 2022 22:53:34 +0000 (22:53 +0000)
commitf05687b6d75e35ac71f96ca84dce38664d18e5cf
tree2a65f79c4a9dc49af149ae4365ae0590ae5bf83b
parent854a12e25b081b68376866090f9d9bb75fe5b297
Crack `ReadableArgs` params when they're tuples

This replaces the special handling we'd had in 0.0.105.2 for
tuples-containing-references by instead just cracking open the
tuples and converting each field individually when calling
`ReadableArgs` where the argument is a tuple.
c-bindings-gen/src/main.rs
c-bindings-gen/src/types.rs