Track generic param count and print types in ptr-conversion
authorMatt Corallo <git@bluematt.me>
Mon, 1 Nov 2021 17:55:20 +0000 (17:55 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 2 Nov 2021 16:54:45 +0000 (16:54 +0000)
commit6728a81b78cec348a99084e841b055424425e27a
tree464d1a95200513f2a5236fc4faa5922d0952c6b5
parent7dbdcb733dbbe77adb24f437a106beaaede11851
Track generic param count and print types in ptr-conversion

This will allow rustc to prevent an issue where we accidentally
map `&&Object as *const _` to get a `*const Object`, instead
getting a pointer to a pointer.
c-bindings-gen/src/main.rs
c-bindings-gen/src/types.rs