Update auto-generated bindings
[ldk-java] / ts / structs / ErrorAction.ts
index fed9258c47fb9e4e2613d5193a27961617110ee4..25bf0917d9c2ca34b92e7db45c14cb5fc43bf485 100644 (file)
@@ -47,4 +47,12 @@ export class SendErrorMessage extends ErrorAction {
                        msg_hu_conv.ptrs_to.add(this);
                this.msg = msg_hu_conv;
        }
+}
+       public ErrorAction clone() {
+               number ret = bindings.ErrorAction_clone(this.ptr);
+               ErrorAction ret_hu_conv = ErrorAction.constr_from_ptr(ret);
+               ret_hu_conv.ptrs_to.add(this);
+               return ret_hu_conv;
+       }
+
 }