Process all type aliases as C types, leaning on annotations to skip
authorMatt Corallo <git@bluematt.me>
Fri, 18 Mar 2022 03:23:28 +0000 (03:23 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 23 Mar 2022 00:44:01 +0000 (00:44 +0000)
commit7ab19163bac30ec500d40f1c3f9ba6efad3d0966
treedfeb1e5218a702678e007068bbed448d61a2c94a
parent11cd55b6baf2c94a44f0cd24774f0d822ff90d66
Process all type aliases as C types, leaning on annotations to skip

Previously we'd used the presence of generics on a type alias
definition to decide when to skip creation of a corresponding C
type. However, with `ProbabilisticScorer`, we now have a type alias
which has a generic bound but which we still want to create a C
type for.
c-bindings-gen/src/main.rs
c-bindings-gen/src/types.rs