Correctly set the `c_ty` arg on `write_c_type` calls for generic params
authorMatt Corallo <git@bluematt.me>
Fri, 24 Jun 2022 01:16:46 +0000 (01:16 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 24 Jun 2022 21:27:19 +0000 (21:27 +0000)
commit58802e7143ad99aa5d1a5b0cda3a407101f269f4
tree638f452ebe342f071efdc91188578da530269340
parent59dfbf9845fec045d76da8d5a28483c470a2c4a1
Correctly set the `c_ty` arg on `write_c_type` calls for generic params

This corrects some cases where we have to print generic types that
themselves have generic parameters.
c-bindings-gen/src/main.rs