Update auto-generated bindings
[ldk-java] / ts / structs / InitFeatures.ts
index a1dee177b6f29e323198b89d3717e89e5386b955..387c4a3023f3458ac02fd24ff8315a11ee2ee0af 100644 (file)
@@ -18,6 +18,17 @@ import * as bindings from '../bindings' // TODO: figure out location
                         bindings.InitFeatures_free(this.ptr);
                     }
                 }
+       public boolean eq(InitFeatures b) {
+               boolean ret = bindings.InitFeatures_eq(this.ptr, b == null ? 0 : b.ptr & ~1);
+               this.ptrs_to.add(b);
+               return ret;
+       }
+
+       public number clone_ptr() {
+               number ret = bindings.InitFeatures_clone_ptr(this.ptr);
+               return ret;
+       }
+
        public InitFeatures clone() {
                number ret = bindings.InitFeatures_clone(this.ptr);
                const ret_hu_conv: InitFeatures = new InitFeatures(null, ret);
@@ -39,6 +50,16 @@ import * as bindings from '../bindings' // TODO: figure out location
                return ret_hu_conv;
        }
 
+       public boolean requires_unknown_bits() {
+               boolean ret = bindings.InitFeatures_requires_unknown_bits(this.ptr);
+               return ret;
+       }
+
+       public boolean supports_payment_secret() {
+               boolean ret = bindings.InitFeatures_supports_payment_secret(this.ptr);
+               return ret;
+       }
+
        public Uint8Array write() {
                Uint8Array ret = bindings.InitFeatures_write(this.ptr);
                return ret;