X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FResult_InitFeaturesDecodeErrorZ.ts;h=d3adc2937c2b09fea32cfda7170c74ebed39495b;hb=f3e670e9341decac613d33fc52febf19cea32f20;hp=0ad8b921d0b5d9906991c7c83a7b25d3e7ff05fe;hpb=e30b350e325e7d517ea744578876d473839ad495;p=ldk-java diff --git a/ts/structs/Result_InitFeaturesDecodeErrorZ.ts b/ts/structs/Result_InitFeaturesDecodeErrorZ.ts index 0ad8b921..d3adc293 100644 --- a/ts/structs/Result_InitFeaturesDecodeErrorZ.ts +++ b/ts/structs/Result_InitFeaturesDecodeErrorZ.ts @@ -9,7 +9,7 @@ public class Result_InitFeaturesDecodeErrorZ extends CommonBase { } static Result_InitFeaturesDecodeErrorZ constr_from_ptr(long ptr) { - if (bindings.LDKCResult_InitFeaturesDecodeErrorZ_result_ok(ptr)) { + if (bindings.CResult_InitFeaturesDecodeErrorZ_is_ok(ptr)) { return new Result_InitFeaturesDecodeErrorZ_OK(null, ptr); } else { return new Result_InitFeaturesDecodeErrorZ_Err(null, ptr); @@ -49,4 +49,9 @@ public class Result_InitFeaturesDecodeErrorZ extends CommonBase { return ret_hu_conv; } + public boolean is_ok() { + boolean ret = bindings.CResult_InitFeaturesDecodeErrorZ_is_ok(this.ptr); + return ret; + } + }