Somewhat more consistently map references to C
authorMatt Corallo <git@bluematt.me>
Mon, 26 Apr 2021 15:48:06 +0000 (15:48 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 26 Apr 2021 16:03:40 +0000 (16:03 +0000)
commit3b0598c5e5b457b260db673fcffa2c6423354200
tree040a6fb3d0784de6e347dbe62f8a23a6309a9284
parent29298fd16d3c535cb9d3bfb64fb9854e50998901
Somewhat more consistently map references to C

Instead of assuming that in some cases references are
pre-dereferenced before the to-C prefix and suffix conversions, we
no longer do that.

This matches other cases and is simply more consistent, apparently
fixing an old oversight in early generation code.
c-bindings-gen/src/blocks.rs
c-bindings-gen/src/main.rs
c-bindings-gen/src/types.rs
lightning-c-bindings/src/bitcoin/network.rs