Update auto-generated bindings with new upstream.
[ldk-java] / src / main / java / org / ldk / structs / NodeFeatures.java
index d1dfb5b4640b7f9c189bd18e2b42463c0b596054..a32f9680c0fdb4dd970c27fefc335321df1c19de 100644 (file)
@@ -14,4 +14,36 @@ public class NodeFeatures extends CommonBase {
                if (ptr != 0) { bindings.NodeFeatures_free(ptr); }
        }
 
+       public NodeFeatures clone() {
+               long ret = bindings.NodeFeatures_clone(this.ptr);
+               NodeFeatures ret_hu_conv = new NodeFeatures(null, ret);
+               ret_hu_conv.ptrs_to.add(this);
+               return ret_hu_conv;
+       }
+
+       public static NodeFeatures constructor_empty() {
+               long ret = bindings.NodeFeatures_empty();
+               NodeFeatures ret_hu_conv = new NodeFeatures(null, ret);
+               ret_hu_conv.ptrs_to.add(ret_hu_conv);
+               return ret_hu_conv;
+       }
+
+       public static NodeFeatures constructor_known() {
+               long ret = bindings.NodeFeatures_known();
+               NodeFeatures ret_hu_conv = new NodeFeatures(null, ret);
+               ret_hu_conv.ptrs_to.add(ret_hu_conv);
+               return ret_hu_conv;
+       }
+
+       public byte[] write() {
+               byte[] ret = bindings.NodeFeatures_write(this.ptr);
+               return ret;
+       }
+
+       public static Result_NodeFeaturesDecodeErrorZ constructor_read(byte[] ser) {
+               long ret = bindings.NodeFeatures_read(ser);
+               Result_NodeFeaturesDecodeErrorZ ret_hu_conv = Result_NodeFeaturesDecodeErrorZ.constr_from_ptr(ret);
+               return ret_hu_conv;
+       }
+
 }