Merge pull request #47 from TheBlueMatt/main
[ldk-java] / ts / structs / Result_NodeInfoDecodeErrorZ.ts
index 7c40d301ec0360c22e365d4d2850e6fbf76a6a45..d52fae8d094475257365b13981830019e1fa18f1 100644 (file)
@@ -37,21 +37,19 @@ public class Result_NodeInfoDecodeErrorZ extends CommonBase {
                }
        }
 
-       public static Result_NodeInfoDecodeErrorZ constructor__ok(NodeInfo o) {
+       public static Result_NodeInfoDecodeErrorZ constructor_ok(NodeInfo o) {
                number ret = bindings.CResult_NodeInfoDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_NodeInfoDecodeErrorZ ret_hu_conv = Result_NodeInfoDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
-       public static Result_NodeInfoDecodeErrorZ constructor__err(DecodeError e) {
+       public static Result_NodeInfoDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_NodeInfoDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_NodeInfoDecodeErrorZ ret_hu_conv = Result_NodeInfoDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
-       public Result_NodeInfoDecodeErrorZ _clone() {
+       public Result_NodeInfoDecodeErrorZ clone() {
                number ret = bindings.CResult_NodeInfoDecodeErrorZ_clone(this.ptr);
                Result_NodeInfoDecodeErrorZ ret_hu_conv = Result_NodeInfoDecodeErrorZ.constr_from_ptr(ret);
                return ret_hu_conv;