Bindings updates
[ldk-java] / ts / structs / Init.ts
index 69918e57301a9e91e24165892477b91c4dbbe0a2..f396b0bf80b8ef89cf98c6cde28cfbed4653fcd1 100644 (file)
@@ -21,6 +21,7 @@ import * as bindings from '../bindings' // TODO: figure out location
        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;
        }