}
static Result_ChannelFeaturesDecodeErrorZ constr_from_ptr(long ptr) {
- if (bindings.LDKCResult_ChannelFeaturesDecodeErrorZ_result_ok(ptr)) {
+ if (bindings.CResult_ChannelFeaturesDecodeErrorZ_is_ok(ptr)) {
return new Result_ChannelFeaturesDecodeErrorZ_OK(null, ptr);
} else {
return new Result_ChannelFeaturesDecodeErrorZ_Err(null, ptr);
return ret_hu_conv;
}
+ public boolean is_ok() {
+ boolean ret = bindings.CResult_ChannelFeaturesDecodeErrorZ_is_ok(this.ptr);
+ return ret;
+ }
+
}