X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=java_strings.py;fp=java_strings.py;h=a15991259093dca37b18c24ff2af5cc54581df7a;hb=46763b974f120d1795fca6c1e757578784f3305a;hp=e788604e77aa2022c7468984e215cc1a02a9c817;hpb=569f3d93bd3ad75518f628a2185b08143a6169f2;p=ldk-java diff --git a/java_strings.py b/java_strings.py index e788604e..a1599125 100644 --- a/java_strings.py +++ b/java_strings.py @@ -1340,6 +1340,8 @@ import javax.annotation.Nullable; extra_java_struct_out += "\t\tif (!(o instanceof " + struct_meth + ")) return false;\n" extra_java_struct_out += "\t\treturn this.eq((" + struct_meth + ")o);\n" extra_java_struct_out += "\t}\n" + if meth_n == "wait": + meth_n = "wait_indefinite" out_java_struct += ("\tpublic " + return_type_info.java_hu_ty + " " + meth_n + "(") for idx, arg in enumerate(argument_types): if idx != 0: