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