X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=ldk-c-bindings;a=blobdiff_plain;f=c-bindings-gen%2Fsrc%2Fmain.rs;fp=c-bindings-gen%2Fsrc%2Fmain.rs;h=71064008755ea07d7cee59e945e267c81108cd7c;hp=ffd293fe7d3c2317e4735eb5bb03f85d01f8d0d4;hb=1b629f532e3ad38659d18305f3df7973e090840a;hpb=6715f52cb6b1e5f92aa86e62baa119e1d3198897 diff --git a/c-bindings-gen/src/main.rs b/c-bindings-gen/src/main.rs index ffd293f..7106400 100644 --- a/c-bindings-gen/src/main.rs +++ b/c-bindings-gen/src/main.rs @@ -1289,7 +1289,7 @@ fn writeln_impl(w: &mut W, w_uses: &mut HashSet u64 {{\n", ident, ident).unwrap(); if types.c_type_has_inner_from_path(&resolved_path) { write!(w, "\tif o.inner.is_null() {{ return 0; }}\n").unwrap();