]> git.bitcoin.ninja Git - rust-lightning/commit
[bindings] Use references in a few places instead of pointers
authorMatt Corallo <git@bluematt.me>
Thu, 31 Dec 2020 04:27:36 +0000 (23:27 -0500)
committerMatt Corallo <git@bluematt.me>
Mon, 4 Jan 2021 21:14:26 +0000 (16:14 -0500)
commit43c24767c8619d7be6d4f8e0dfbaf3861c53ba04
tree3607258b3e064a096e5422e8a32fd1fd9dde3513
parentf20e7cb672cb846a1572423e049622706b2c7938
[bindings] Use references in a few places instead of pointers

Previously, references and pointers ended up identical in C, so
there was little reason to differentiate. With the addition of
nullability annotations, there is a (very slight) reason to prefer
references, so use them in a few places where its a trivial change.
c-bindings-gen/src/main.rs