Update auto-generated bindings
[ldk-java] / ts / structs / Result_RouteParametersDecodeErrorZ.ts
index 8c8e18b4ddb25142bbf81660a3410fecb4b61e71..78480fe35b42526055adfa39f0050fd00f260b09 100644 (file)
@@ -9,7 +9,7 @@ public class Result_RouteParametersDecodeErrorZ extends CommonBase {
        }
 
        static Result_RouteParametersDecodeErrorZ constr_from_ptr(long ptr) {
-               if (bindings.LDKCResult_RouteParametersDecodeErrorZ_result_ok(ptr)) {
+               if (bindings.CResult_RouteParametersDecodeErrorZ_is_ok(ptr)) {
                        return new Result_RouteParametersDecodeErrorZ_OK(null, ptr);
                } else {
                        return new Result_RouteParametersDecodeErrorZ_Err(null, ptr);
@@ -49,6 +49,16 @@ public class Result_RouteParametersDecodeErrorZ extends CommonBase {
                return ret_hu_conv;
        }
 
+       public boolean is_ok() {
+               boolean ret = bindings.CResult_RouteParametersDecodeErrorZ_is_ok(this.ptr);
+               return ret;
+       }
+
+       public number clone_ptr() {
+               number ret = bindings.CResult_RouteParametersDecodeErrorZ_clone_ptr(this.ptr);
+               return ret;
+       }
+
        public Result_RouteParametersDecodeErrorZ clone() {
                number ret = bindings.CResult_RouteParametersDecodeErrorZ_clone(this.ptr);
                Result_RouteParametersDecodeErrorZ ret_hu_conv = Result_RouteParametersDecodeErrorZ.constr_from_ptr(ret);