/**
* Creates a new CResult_NonePeerHandleErrorZ in the success state.
*/
- public static Result_NonePeerHandleErrorZ constructor_ok() {
+ public static Result_NonePeerHandleErrorZ ok() {
long ret = bindings.CResult_NonePeerHandleErrorZ_ok();
Result_NonePeerHandleErrorZ ret_hu_conv = Result_NonePeerHandleErrorZ.constr_from_ptr(ret);
return ret_hu_conv;
/**
* Creates a new CResult_NonePeerHandleErrorZ in the error state.
*/
- public static Result_NonePeerHandleErrorZ constructor_err(PeerHandleError e) {
+ public static Result_NonePeerHandleErrorZ err(PeerHandleError e) {
long ret = bindings.CResult_NonePeerHandleErrorZ_err(e == null ? 0 : e.ptr & ~1);
Result_NonePeerHandleErrorZ ret_hu_conv = Result_NonePeerHandleErrorZ.constr_from_ptr(ret);
ret_hu_conv.ptrs_to.add(e);