[Java] Update auto-generated Java bindings
[ldk-java] / src / main / java / org / ldk / structs / TwoTuple_u32ScriptZ.java
index dd114ae23e655d7a73742413c74d19b17afb9047..3d6c4eca9e0f77f6e78bc9139f9960a851079384 100644 (file)
@@ -53,7 +53,7 @@ public class TwoTuple_u32ScriptZ extends CommonBase {
                Reference.reachabilityFence(this);
                if (ret >= 0 && ret <= 4096) { return null; }
                TwoTuple_u32ScriptZ ret_hu_conv = new TwoTuple_u32ScriptZ(null, ret);
-               ret_hu_conv.ptrs_to.add(this);
+               if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.add(this); };
                return ret_hu_conv;
        }
 
@@ -66,7 +66,7 @@ public class TwoTuple_u32ScriptZ extends CommonBase {
                Reference.reachabilityFence(b);
                if (ret >= 0 && ret <= 4096) { return null; }
                TwoTuple_u32ScriptZ ret_hu_conv = new TwoTuple_u32ScriptZ(null, ret);
-               ret_hu_conv.ptrs_to.add(ret_hu_conv);
+               if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.add(ret_hu_conv); };
                return ret_hu_conv;
        }