bindings.ReplyShortChannelIdsEnd_free(this.ptr);
}
}
- public ReplyShortChannelIdsEnd clone() {
- number ret = bindings.ReplyShortChannelIdsEnd_clone(this.ptr);
- const ret_hu_conv: ReplyShortChannelIdsEnd = new ReplyShortChannelIdsEnd(null, ret);
- return ret_hu_conv;
- }
-
public Uint8Array get_chain_hash() {
Uint8Array ret = bindings.ReplyShortChannelIdsEnd_get_chain_hash(this.ptr);
return ret;
public static ReplyShortChannelIdsEnd constructor_new(Uint8Array chain_hash_arg, boolean full_information_arg) {
number ret = bindings.ReplyShortChannelIdsEnd_new(chain_hash_arg, full_information_arg);
const ret_hu_conv: ReplyShortChannelIdsEnd = new ReplyShortChannelIdsEnd(null, ret);
+ ret_hu_conv.ptrs_to.add(ret_hu_conv);
+ return ret_hu_conv;
+ }
+
+ public ReplyShortChannelIdsEnd clone() {
+ number ret = bindings.ReplyShortChannelIdsEnd_clone(this.ptr);
+ const ret_hu_conv: ReplyShortChannelIdsEnd = new ReplyShortChannelIdsEnd(null, ret);
+ ret_hu_conv.ptrs_to.add(this);
return ret_hu_conv;
}