[Java] Update auto-generated Java bindings
[ldk-java] / src / main / java / org / ldk / structs / Result_SignedRawInvoiceParseErrorZ.java
index 1c7c969be12e4cf816d44ff077eec6e831a0a1b6..1e13fd86aeee780133e0d7c65ff1b47f3b0bb349 100644 (file)
@@ -46,10 +46,11 @@ public class Result_SignedRawInvoiceParseErrorZ extends CommonBase {
         * Creates a new CResult_SignedRawInvoiceParseErrorZ in the success state.
         */
        public static Result_SignedRawInvoiceParseErrorZ ok(SignedRawInvoice o) {
-               long ret = bindings.CResult_SignedRawInvoiceParseErrorZ_ok(o == null ? 0 : o.ptr & ~1);
+               long ret = bindings.CResult_SignedRawInvoiceParseErrorZ_ok(o == null ? 0 : o.ptr);
                Reference.reachabilityFence(o);
                if (ret >= 0 && ret <= 4096) { return null; }
                Result_SignedRawInvoiceParseErrorZ ret_hu_conv = Result_SignedRawInvoiceParseErrorZ.constr_from_ptr(ret);
+               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }