[Java] Update auto-generated bindings to LDK 0.0.123
[ldk-java] / src / main / java / org / ldk / structs / Result_PaymentFailureReasonDecodeErrorZ.java
index e650482983193574a147060bb8e4eaa8d8bfea2b..e46a155b5fe8052e4c533d9139140adcd1faa9f5 100644 (file)
@@ -13,6 +13,10 @@ public class Result_PaymentFailureReasonDecodeErrorZ extends CommonBase {
                if (ptr != 0) { bindings.CResult_PaymentFailureReasonDecodeErrorZ_free(ptr); } super.finalize();
        }
 
+       protected void force_free() {
+               if (ptr != 0) { bindings.CResult_PaymentFailureReasonDecodeErrorZ_free(ptr); ptr = 0; }
+       }
+
        static Result_PaymentFailureReasonDecodeErrorZ constr_from_ptr(long ptr) {
                if (bindings.CResult_PaymentFailureReasonDecodeErrorZ_is_ok(ptr)) {
                        return new Result_PaymentFailureReasonDecodeErrorZ_OK(null, ptr);