Update auto-generated bindings
[ldk-java] / src / main / java / org / ldk / structs / APIError.java
index 6e760fbb16ddcd51a0ca4747a6340a2b1e422dbe..37478865b4cb00d99211ee72953e2dec91d2da29 100644 (file)
@@ -73,4 +73,14 @@ public class APIError extends CommonBase {
                        super(null, ptr);
                }
        }
+       /**
+        * Creates a copy of the APIError
+        */
+       public APIError clone() {
+               long ret = bindings.APIError_clone(this.ptr);
+               APIError ret_hu_conv = APIError.constr_from_ptr(ret);
+               ret_hu_conv.ptrs_to.add(this);
+               return ret_hu_conv;
+       }
+
 }