Update auto-generated bindings
[ldk-java] / ts / structs / Init.ts
index 69918e57301a9e91e24165892477b91c4dbbe0a2..94cd5d87e5a4e1ad6838d6bd1b2752cc6654de99 100644 (file)
@@ -18,9 +18,33 @@ import * as bindings from '../bindings' // TODO: figure out location
                         bindings.Init_free(this.ptr);
                     }
                 }
+       public InitFeatures get_features() {
+               number ret = bindings.Init_get_features(this.ptr);
+               const ret_hu_conv: InitFeatures = new InitFeatures(null, ret);
+               ret_hu_conv.ptrs_to.add(this);
+               return ret_hu_conv;
+       }
+
+       public void set_features(InitFeatures val) {
+               bindings.Init_set_features(this.ptr, val == null ? 0 : val.ptr & ~1);
+       }
+
+       public static Init constructor_new(InitFeatures features_arg) {
+               number ret = bindings.Init_new(features_arg == null ? 0 : features_arg.ptr & ~1);
+               const ret_hu_conv: Init = new Init(null, ret);
+               ret_hu_conv.ptrs_to.add(ret_hu_conv);
+               return ret_hu_conv;
+       }
+
+       public number clone_ptr() {
+               number ret = bindings.Init_clone_ptr(this.ptr);
+               return ret;
+       }
+
        public Init clone() {
                number ret = bindings.Init_clone(this.ptr);
                const ret_hu_conv: Init = new Init(null, ret);
+               ret_hu_conv.ptrs_to.add(this);
                return ret_hu_conv;
        }