]> git.bitcoin.ninja Git - ldk-c-bindings/commit
Note which parameters or return values are (secretly) Options
authorMatt Corallo <git@bluematt.me>
Thu, 5 Aug 2021 01:53:48 +0000 (01:53 +0000)
committerMatt Corallo <git@bluematt.me>
Sat, 7 Aug 2021 21:08:20 +0000 (21:08 +0000)
commit787d5d9810dfc71006f3ed0c8a21290be5ea6c54
tree1716b6809aed302c8e37082eb3fdf494f472a61f
parent75e8cf5acf256d8ecaf0c68e60997f6423e83c04
Note which parameters or return values are (secretly) Options

Because `Option<OpaqueType>` is mapped the same as `OpaqueType` its
not immediately clear which values in the API are actually
`Option<>`al. Thus, we should at least have documentation noting
this.
c-bindings-gen/src/blocks.rs
c-bindings-gen/src/main.rs
c-bindings-gen/src/types.rs