From: Matt Corallo Date: Tue, 12 Oct 2021 02:07:34 +0000 (+0000) Subject: Drop stale manual path mappings for generic containers X-Git-Tag: v0.0.102.0^2~5 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=3199a032e7ada1e2bb1dc0ad2df28909a3af4cbb;p=ldk-c-bindings Drop stale manual path mappings for generic containers These are all mapped as generic containers now so there's no need for manual mapping entries. --- diff --git a/c-bindings-gen/src/types.rs b/c-bindings-gen/src/types.rs index 8063532..9220dd1 100644 --- a/c-bindings-gen/src/types.rs +++ b/c-bindings-gen/src/types.rs @@ -867,10 +867,6 @@ impl<'a, 'c: 'a> TypeResolver<'a, 'c> { return Some(full_path); } match full_path { - "Result" => Some("crate::c_types::derived::CResult"), - "Vec" if !is_ref => Some("crate::c_types::derived::CVec"), - "Option" => Some(""), - // Note that no !is_ref types can map to an array because Rust and C's call semantics // for arrays are different (https://github.com/eqrion/cbindgen/issues/528)