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