*/
public static Result_InvoiceNoneZ ok(Invoice o) {
long ret = bindings.CResult_InvoiceNoneZ_ok(o == null ? 0 : o.ptr & ~1);
- if (ret < 1024) { return null; }
+ if (ret >= 0 && ret < 1024) { return null; }
Result_InvoiceNoneZ ret_hu_conv = Result_InvoiceNoneZ.constr_from_ptr(ret);
return ret_hu_conv;
}
*/
public static Result_InvoiceNoneZ err() {
long ret = bindings.CResult_InvoiceNoneZ_err();
- if (ret < 1024) { return null; }
+ if (ret >= 0 && ret < 1024) { return null; }
Result_InvoiceNoneZ ret_hu_conv = Result_InvoiceNoneZ.constr_from_ptr(ret);
return ret_hu_conv;
}
*/
public Result_InvoiceNoneZ clone() {
long ret = bindings.CResult_InvoiceNoneZ_clone(this.ptr);
- if (ret < 1024) { return null; }
+ if (ret >= 0 && ret < 1024) { return null; }
Result_InvoiceNoneZ ret_hu_conv = Result_InvoiceNoneZ.constr_from_ptr(ret);
return ret_hu_conv;
}