Update auto-generated bindings
[ldk-java] / ts / structs / SignOrCreationError.ts
index c40ee79aa9c971289a1ba867d2c4d3a9cff2268b..d2e1e36bced8ede6a6209780715b7b0b070f09ed 100644 (file)
@@ -32,6 +32,11 @@ export class CreationError extends SignOrCreationError {
                this.creation_error = obj.creation_error;
        }
 }
+       public number clone_ptr() {
+               number ret = bindings.SignOrCreationError_clone_ptr(this.ptr);
+               return ret;
+       }
+
        public SignOrCreationError clone() {
                number ret = bindings.SignOrCreationError_clone(this.ptr);
                SignOrCreationError ret_hu_conv = SignOrCreationError.constr_from_ptr(ret);
@@ -39,9 +44,22 @@ export class CreationError extends SignOrCreationError {
                return ret_hu_conv;
        }
 
+       public static SignOrCreationError constructor_sign_error() {
+               number ret = bindings.SignOrCreationError_sign_error();
+               SignOrCreationError ret_hu_conv = SignOrCreationError.constr_from_ptr(ret);
+               ret_hu_conv.ptrs_to.add(ret_hu_conv);
+               return ret_hu_conv;
+       }
+
+       public static SignOrCreationError constructor_creation_error(CreationError a) {
+               number ret = bindings.SignOrCreationError_creation_error(a);
+               SignOrCreationError ret_hu_conv = SignOrCreationError.constr_from_ptr(ret);
+               ret_hu_conv.ptrs_to.add(ret_hu_conv);
+               return ret_hu_conv;
+       }
+
        public boolean eq(SignOrCreationError b) {
                boolean ret = bindings.SignOrCreationError_eq(this.ptr, b == null ? 0 : b.ptr & ~1);
-               this.ptrs_to.add(b);
                return ret;
        }