- public static FundingLocked constructor_new(byte[] channel_id_arg, byte[] next_per_commitment_point_arg) {
- uint32_t ret = bindings.FundingLocked_new(channel_id_arg, next_per_commitment_point_arg);
- FundingLocked ret_hu_conv = new FundingLocked(null, ret);
+ public static FundingLocked constructor_new(Uint8Array channel_id_arg, Uint8Array next_per_commitment_point_arg) {
+ number ret = bindings.FundingLocked_new(channel_id_arg, next_per_commitment_point_arg);
+ const ret_hu_conv: FundingLocked = new FundingLocked(null, ret);
+ ret_hu_conv.ptrs_to.add(ret_hu_conv);
+ return ret_hu_conv;
+ }
+
+ public FundingLocked clone() {
+ number ret = bindings.FundingLocked_clone(this.ptr);
+ const ret_hu_conv: FundingLocked = new FundingLocked(null, ret);
+ ret_hu_conv.ptrs_to.add(this);