Update auto-generated bindings
[ldk-java] / src / main / java / org / ldk / structs / DecodeError.java
index 5a7703fcc97e0f77ab5a346067dab6c1c457edd4..ec49efbdc6530d1b1f05f3dd77c6fa23f40340bc 100644 (file)
@@ -23,6 +23,7 @@ public class DecodeError extends CommonBase {
         */
        public DecodeError clone() {
                long ret = bindings.DecodeError_clone(this.ptr);
+               if (ret < 1024) { return null; }
                DecodeError ret_hu_conv = new DecodeError(null, ret);
                ret_hu_conv.ptrs_to.add(this);
                return ret_hu_conv;