Add function-call generic parameters when they're resovable
[ldk-c-bindings] / c-bindings-gen / src / types.rs
index 21b0458ceae6d5bf24b7cb76c7bb44bdbdca3366..88d66403931c34b2792e932309e2dfa08f09b226 100644 (file)
@@ -827,7 +827,7 @@ impl<'a, 'c: 'a> TypeResolver<'a, 'c> {
        // *************************************************
 
        /// Returns true we if can just skip passing this to C entirely
-       fn skip_path(&self, full_path: &str) -> bool {
+       pub fn skip_path(&self, full_path: &str) -> bool {
                full_path == "bitcoin::secp256k1::Secp256k1" ||
                full_path == "bitcoin::secp256k1::Signing" ||
                full_path == "bitcoin::secp256k1::Verification"