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