[bindings] Handle generic-ized impl blocks by concretizing them
[rust-lightning] / c-bindings-gen / src / types.rs
index ad9cd0497f9f5b4f147f9560ac7a95d7051e0c11..656ec13f96c53ef8c4cce6ef62e5bb7cdca2c611 100644 (file)
@@ -529,6 +529,8 @@ pub struct CrateTypes<'a> {
        pub traits: HashMap<String, &'a syn::ItemTrait>,
        /// Aliases from paths to some other Type
        pub type_aliases: HashMap<String, syn::Type>,
+       /// Value is an alias to Key (maybe with some generics)
+       pub reverse_alias_map: HashMap<String, Vec<(syn::Path, syn::PathArguments)>>,
        /// Template continer types defined, map from mangled type name -> whether a destructor fn
        /// exists.
        ///