X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FResult_PingDecodeErrorZ.java;h=871d6a3afc77d12f67310917879f6f1dc801538f;hb=refs%2Fheads%2Fmain-test;hp=c91054d5ee0967ff664f320b51ae9150aa625255;hpb=a77a2856c7cd010a7b478cce793f7c9f999284d8;p=ldk-java diff --git a/src/main/java/org/ldk/structs/Result_PingDecodeErrorZ.java b/src/main/java/org/ldk/structs/Result_PingDecodeErrorZ.java index c91054d5..871d6a3a 100644 --- a/src/main/java/org/ldk/structs/Result_PingDecodeErrorZ.java +++ b/src/main/java/org/ldk/structs/Result_PingDecodeErrorZ.java @@ -43,7 +43,7 @@ public class Result_PingDecodeErrorZ extends CommonBase { /** * Creates a new CResult_PingDecodeErrorZ in the success state. */ - public static Result_PingDecodeErrorZ constructor_ok(Ping o) { + public static Result_PingDecodeErrorZ ok(Ping o) { long ret = bindings.CResult_PingDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1); Result_PingDecodeErrorZ ret_hu_conv = Result_PingDecodeErrorZ.constr_from_ptr(ret); ret_hu_conv.ptrs_to.add(o); @@ -53,7 +53,7 @@ public class Result_PingDecodeErrorZ extends CommonBase { /** * Creates a new CResult_PingDecodeErrorZ in the error state. */ - public static Result_PingDecodeErrorZ constructor_err(DecodeError e) { + public static Result_PingDecodeErrorZ err(DecodeError e) { long ret = bindings.CResult_PingDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1); Result_PingDecodeErrorZ ret_hu_conv = Result_PingDecodeErrorZ.constr_from_ptr(ret); ret_hu_conv.ptrs_to.add(e);