[bindings] Separate take_ptr and take_inner
authorMatt Corallo <git@bluematt.me>
Wed, 25 Nov 2020 18:20:15 +0000 (13:20 -0500)
committerMatt Corallo <git@bluematt.me>
Mon, 4 Jan 2021 21:14:26 +0000 (16:14 -0500)
commitd344fbea337ca00d3dc1384907c1ff302fd39537
tree3e40594723eef8a4acb6eeecc2af347fa817aec0
parentf2255a4590a5bf073e8497485e4bd6f19a56cfc8
[bindings] Separate take_ptr and take_inner

It is confusing to have two utility methods on different classes
of types which do two different, but related, things with the same
name.
c-bindings-gen/src/main.rs
c-bindings-gen/src/types.rs