[Java] Update auto-generated Java bindings
[ldk-java] / src / main / java / org / ldk / structs / Result_SpendableOutputDescriptorDecodeErrorZ.java
index a723ae2027347d32b5c961effbe8c5406c99587b..b7c37719705baa1d978362d891e13392437ec69b 100644 (file)
@@ -57,10 +57,11 @@ public class Result_SpendableOutputDescriptorDecodeErrorZ extends CommonBase {
         * Creates a new CResult_SpendableOutputDescriptorDecodeErrorZ in the error state.
         */
        public static Result_SpendableOutputDescriptorDecodeErrorZ err(DecodeError e) {
-               long ret = bindings.CResult_SpendableOutputDescriptorDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
+               long ret = bindings.CResult_SpendableOutputDescriptorDecodeErrorZ_err(e == null ? 0 : e.ptr);
                Reference.reachabilityFence(e);
                if (ret >= 0 && ret <= 4096) { return null; }
                Result_SpendableOutputDescriptorDecodeErrorZ ret_hu_conv = Result_SpendableOutputDescriptorDecodeErrorZ.constr_from_ptr(ret);
+               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }