return ret;
}
+ long clone_ptr() {
+ long ret = bindings.C2Tuple_u32ScriptZ_clone_ptr(this.ptr);
+ return ret;
+ }
+
/**
* Creates a new tuple which has the same data as `orig`
* but with all dynamically-allocated buffers duplicated in new buffers.
*/
public TwoTuple_u32ScriptZ clone() {
long ret = bindings.C2Tuple_u32ScriptZ_clone(this.ptr);
- if (ret >= 0 && ret < 1024) { return null; }
+ if (ret >= 0 && ret <= 4096) { return null; }
TwoTuple_u32ScriptZ ret_hu_conv = new TwoTuple_u32ScriptZ(null, ret);
ret_hu_conv.ptrs_to.add(this);
return ret_hu_conv;
*/
public static TwoTuple_u32ScriptZ of(int a, byte[] b) {
long ret = bindings.C2Tuple_u32ScriptZ_new(a, b);
- if (ret >= 0 && ret < 1024) { return null; }
+ 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);
return ret_hu_conv;