Bindings updates
[ldk-java] / src / main / java / org / ldk / structs / DecodeError.java
index e8cec47071df259dcd5318d91d8e9bd1392502f7..d39265af082e897be8681e33db684daddf64c080 100644 (file)
@@ -14,4 +14,11 @@ public class DecodeError extends CommonBase {
                if (ptr != 0) { bindings.DecodeError_free(ptr); }
        }
 
+       public DecodeError clone() {
+               long ret = bindings.DecodeError_clone(this.ptr);
+               DecodeError ret_hu_conv = new DecodeError(null, ret);
+               ret_hu_conv.ptrs_to.add(this);
+               return ret_hu_conv;
+       }
+
 }