]> 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>
Fri, 15 Jan 2021 00:49:14 +0000 (19:49 -0500)
commite25bb3fb2a8410d4b3d69043dc1f45b8cb2d29cd
tree85012ce7d8d45643cc08ec2ac576179382aa2dac
parente1fb493ca94651759780a913eea20fb2dd296d8e
[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