Update auto-generated bindings
[ldk-java] / ts / structs / Init.ts
index b8ca1522ccb2f4cfc6e7a79f9dd98d035aea6282..9b127bfcb42705bf2c47a7ebef6e5f0c37e18e3e 100644 (file)
@@ -27,14 +27,12 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_features(InitFeatures val) {
                bindings.Init_set_features(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        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);
-               ret_hu_conv.ptrs_to.add(features_arg);
                return ret_hu_conv;
        }