[Java] Update auto-generated Java bindings
[ldk-java] / src / main / java / org / ldk / structs / Result_FixedPenaltyScorerDecodeErrorZ.java
index d01454b9ee0d9144167679eb653f56252ba8ecd7..24ce57de4d24f1f0e960766d34794d84f90b53ff 100644 (file)
@@ -45,7 +45,7 @@ public class Result_FixedPenaltyScorerDecodeErrorZ extends CommonBase {
        /**
         * Creates a new CResult_FixedPenaltyScorerDecodeErrorZ in the success state.
         */
-       public static Result_FixedPenaltyScorerDecodeErrorZ ok(FixedPenaltyScorer o) {
+       public static Result_FixedPenaltyScorerDecodeErrorZ ok(org.ldk.structs.FixedPenaltyScorer o) {
                long ret = bindings.CResult_FixedPenaltyScorerDecodeErrorZ_ok(o == null ? 0 : o.ptr);
                Reference.reachabilityFence(o);
                if (ret >= 0 && ret <= 4096) { return null; }
@@ -57,11 +57,12 @@ public class Result_FixedPenaltyScorerDecodeErrorZ extends CommonBase {
        /**
         * Creates a new CResult_FixedPenaltyScorerDecodeErrorZ in the error state.
         */
-       public static Result_FixedPenaltyScorerDecodeErrorZ err(DecodeError e) {
+       public static Result_FixedPenaltyScorerDecodeErrorZ err(org.ldk.structs.DecodeError e) {
                long ret = bindings.CResult_FixedPenaltyScorerDecodeErrorZ_err(e.ptr);
                Reference.reachabilityFence(e);
                if (ret >= 0 && ret <= 4096) { return null; }
                Result_FixedPenaltyScorerDecodeErrorZ ret_hu_conv = Result_FixedPenaltyScorerDecodeErrorZ.constr_from_ptr(ret);
+               if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.add(e); };
                return ret_hu_conv;
        }