/**
* Creates a new CResult_ChannelFeaturesDecodeErrorZ in the success state.
*/
- public static Result_ChannelFeaturesDecodeErrorZ constructor_ok(ChannelFeatures o) {
+ public static Result_ChannelFeaturesDecodeErrorZ ok(ChannelFeatures o) {
long ret = bindings.CResult_ChannelFeaturesDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
Result_ChannelFeaturesDecodeErrorZ ret_hu_conv = Result_ChannelFeaturesDecodeErrorZ.constr_from_ptr(ret);
ret_hu_conv.ptrs_to.add(o);
/**
* Creates a new CResult_ChannelFeaturesDecodeErrorZ in the error state.
*/
- public static Result_ChannelFeaturesDecodeErrorZ constructor_err(DecodeError e) {
+ public static Result_ChannelFeaturesDecodeErrorZ err(DecodeError e) {
long ret = bindings.CResult_ChannelFeaturesDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
Result_ChannelFeaturesDecodeErrorZ ret_hu_conv = Result_ChannelFeaturesDecodeErrorZ.constr_from_ptr(ret);
ret_hu_conv.ptrs_to.add(e);