Update auto-generated bindings
[ldk-java] / src / main / java / org / ldk / structs / Option_u32Z.java
index 3c4fcd68799fbed6858d2c3d22f44ef3140674f1..6a18abfbebc7f399e28f76c843e5ad14d375297b 100644 (file)
@@ -29,6 +29,9 @@ public class Option_u32Z extends CommonBase {
                assert false; return null; // Unreachable without extending the (internal) bindings interface
        }
 
+       /**
+        * When we're in this state, this COption_u32Z contains a u32
+        */
        public final static class Some extends Option_u32Z {
                public final int some;
                private Some(long ptr, bindings.LDKCOption_u32Z.Some obj) {
@@ -36,6 +39,9 @@ public class Option_u32Z extends CommonBase {
                        this.some = obj.some;
                }
        }
+       /**
+        * When we're in this state, this COption_u32Z contains nothing
+        */
        public final static class None extends Option_u32Z {
                private None(long ptr, bindings.LDKCOption_u32Z.None obj) {
                        super(null, ptr);
@@ -63,6 +69,11 @@ public class Option_u32Z extends CommonBase {
                return ret_hu_conv;
        }
 
+       long clone_ptr() {
+               long ret = bindings.COption_u32Z_clone_ptr(this.ptr);
+               return ret;
+       }
+
        /**
         * Creates a new COption_u32Z which has the same data as `orig`
         * but with all dynamically-allocated buffers duplicated in new buffers.