Update auto-generated bindings
[ldk-java] / src / main / java / org / ldk / structs / Result_NonePeerHandleErrorZ.java
index ec7ade26daf3dda33b270b15e31a316bb21e37eb..95f9c6a705d6228723286abc7c79a19c7b2843b5 100644 (file)
@@ -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);