X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FResult_NonePeerHandleErrorZ.java;fp=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FResult_NonePeerHandleErrorZ.java;h=95f9c6a705d6228723286abc7c79a19c7b2843b5;hb=0f5027835d5a668a9b296f6d9e0fe894d3a6956d;hp=ec7ade26daf3dda33b270b15e31a316bb21e37eb;hpb=a77a2856c7cd010a7b478cce793f7c9f999284d8;p=ldk-java diff --git a/src/main/java/org/ldk/structs/Result_NonePeerHandleErrorZ.java b/src/main/java/org/ldk/structs/Result_NonePeerHandleErrorZ.java index ec7ade26..95f9c6a7 100644 --- a/src/main/java/org/ldk/structs/Result_NonePeerHandleErrorZ.java +++ b/src/main/java/org/ldk/structs/Result_NonePeerHandleErrorZ.java @@ -38,7 +38,7 @@ public class Result_NonePeerHandleErrorZ extends CommonBase { /** * Creates a new CResult_NonePeerHandleErrorZ in the success state. */ - public static Result_NonePeerHandleErrorZ constructor_ok() { + public static Result_NonePeerHandleErrorZ ok() { long ret = bindings.CResult_NonePeerHandleErrorZ_ok(); Result_NonePeerHandleErrorZ ret_hu_conv = Result_NonePeerHandleErrorZ.constr_from_ptr(ret); return ret_hu_conv; @@ -47,7 +47,7 @@ public class Result_NonePeerHandleErrorZ extends CommonBase { /** * Creates a new CResult_NonePeerHandleErrorZ in the error state. */ - public static Result_NonePeerHandleErrorZ constructor_err(PeerHandleError e) { + public static Result_NonePeerHandleErrorZ err(PeerHandleError e) { long ret = bindings.CResult_NonePeerHandleErrorZ_err(e == null ? 0 : e.ptr & ~1); Result_NonePeerHandleErrorZ ret_hu_conv = Result_NonePeerHandleErrorZ.constr_from_ptr(ret); ret_hu_conv.ptrs_to.add(e);