[Java] Update auto-generated bindings to LDK 0.0.123
[ldk-java] / src / main / java / org / ldk / structs / Result_COption_TypeZDecodeErrorZ.java
index 210a7ef26c7b1e1f9ac96d0c6a2d49bdf6e442df..7f6903db07c4ca6cb44165d296ec636302d4f0ae 100644 (file)
@@ -13,6 +13,10 @@ public class Result_COption_TypeZDecodeErrorZ extends CommonBase {
                if (ptr != 0) { bindings.CResult_COption_TypeZDecodeErrorZ_free(ptr); } super.finalize();
        }
 
+       protected void force_free() {
+               if (ptr != 0) { bindings.CResult_COption_TypeZDecodeErrorZ_free(ptr); ptr = 0; }
+       }
+
        static Result_COption_TypeZDecodeErrorZ constr_from_ptr(long ptr) {
                if (bindings.CResult_COption_TypeZDecodeErrorZ_is_ok(ptr)) {
                        return new Result_COption_TypeZDecodeErrorZ_OK(null, ptr);