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