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>
Tue, 28 Jun 2022 02:26:57 +0000 (02:26 +0000)
commitb21aab058d9c8ed7d009840751893126371d0361
treecd851e0fbd2a19c20f9106b3e37d88218eb22676
parent1b6289ada16831cd44d7861770af45da9dd059b7
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