[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>
Wed, 3 Feb 2021 15:11:28 +0000 (10:11 -0500)
commit1e06274765ce2c5614175baa355f6b67edefc14f
tree0ca7e0bde6a94529b6adb4e6820cfbc4c9f30464
parent53f2e25a96e59a32baf14f821f16360d7bb6461f
[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