X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=genbindings.py;h=1ac132ad9e1b3d21b0b0a824ed2f4ea892155acd;hb=941cd1b9d1e9fdfb126869a3e150f546fc6edcda;hp=5fd2062817370ec9c15134c4a113ccae1a9829fc;hpb=4d2111e2f13bfd96b21761284d1937dcf78691ed;p=ldk-java diff --git a/genbindings.py b/genbindings.py index 5fd20628..1ac132ad 100755 --- a/genbindings.py +++ b/genbindings.py @@ -703,6 +703,7 @@ with open(sys.argv[1]) as in_h, open(f"{sys.argv[2]}/bindings{consts.file_ext}", if check_sfx is not None: write_c("CHECK(" + check_sfx[0] + "owner" + check_sfx[1] + ");\n") write_c("\treturn " + accessor[0] + "owner" + accessor[1] + ";\n") + holds_ref = True else: fn_defn = ptr_fn_defn write_c("static inline " + fn_defn + "{\n")