Use the resolved type name in generic strings, not the original
authorMatt Corallo <git@bluematt.me>
Thu, 28 Sep 2023 01:14:41 +0000 (01:14 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 4 Oct 2023 20:02:23 +0000 (20:02 +0000)
commit3398c19e2889fbe22590d8991b4ce1bc176ec1bc
treed335620bc57ee9657711f1b1c0820b2ce75b9413
parentb20a8ecbb5a435885aa40859f22290929a929a5a
Use the resolved type name in generic strings, not the original

This makes some generics less readable, but some more, and reduces
generic type pollution. Some cases are a loss, eg
`Option_PaymentHashZ` gets converted to `Option_ThirtyTwoBytesZ`
(which less less readable but fewer total types as a result), but
we ultimately need this because we now have `schnorr::Signature`
and `ecdsa::Signature` so we can't rely on just using `Signature`
and having it be unique :(.
c-bindings-gen/src/types.rs