Bindings updates
[ldk-java] / src / main / java / org / ldk / structs / PaymentSendFailure.java
index 7b7f363236902d3ef1c746f6e406a3703fe4143f..48fd7a02a4faa9eec37adc2c24e49b4302354d21 100644 (file)
@@ -14,4 +14,11 @@ public class PaymentSendFailure extends CommonBase {
                if (ptr != 0) { bindings.PaymentSendFailure_free(ptr); }
        }
 
+       public PaymentSendFailure clone() {
+               long ret = bindings.PaymentSendFailure_clone(this.ptr);
+               PaymentSendFailure ret_hu_conv = new PaymentSendFailure(null, ret);
+               ret_hu_conv.ptrs_to.add(this);
+               return ret_hu_conv;
+       }
+
 }