import org.ldk.enums.*;
import org.ldk.util.*;
import java.util.Arrays;
+import javax.annotation.Nullable;
public class Result_NoneSemanticErrorZ extends CommonBase {
private Result_NoneSemanticErrorZ(Object _dummy, long ptr) { super(ptr); }
*/
public static Result_NoneSemanticErrorZ ok() {
long ret = bindings.CResult_NoneSemanticErrorZ_ok();
+ if (ret < 1024) { return null; }
Result_NoneSemanticErrorZ ret_hu_conv = Result_NoneSemanticErrorZ.constr_from_ptr(ret);
return ret_hu_conv;
}
/**
* Creates a new CResult_NoneSemanticErrorZ in the error state.
*/
- public static Result_NoneSemanticErrorZ err(SemanticError e) {
+ public static Result_NoneSemanticErrorZ err(org.ldk.enums.SemanticError e) {
long ret = bindings.CResult_NoneSemanticErrorZ_err(e);
+ if (ret < 1024) { return null; }
Result_NoneSemanticErrorZ ret_hu_conv = Result_NoneSemanticErrorZ.constr_from_ptr(ret);
return ret_hu_conv;
}
*/
public Result_NoneSemanticErrorZ clone() {
long ret = bindings.CResult_NoneSemanticErrorZ_clone(this.ptr);
+ if (ret < 1024) { return null; }
Result_NoneSemanticErrorZ ret_hu_conv = Result_NoneSemanticErrorZ.constr_from_ptr(ret);
return ret_hu_conv;
}