bindings.OutPoint_free(this.ptr);
}
}
- public OutPoint clone() {
- number ret = bindings.OutPoint_clone(this.ptr);
- const ret_hu_conv: OutPoint = new OutPoint(null, ret);
- ret_hu_conv.ptrs_to.add(this);
- return ret_hu_conv;
- }
-
public Uint8Array get_txid() {
Uint8Array ret = bindings.OutPoint_get_txid(this.ptr);
return ret;
return ret_hu_conv;
}
+ public OutPoint clone() {
+ number ret = bindings.OutPoint_clone(this.ptr);
+ const ret_hu_conv: OutPoint = new OutPoint(null, ret);
+ ret_hu_conv.ptrs_to.add(this);
+ return ret_hu_conv;
+ }
+
public Uint8Array to_channel_id() {
Uint8Array ret = bindings.OutPoint_to_channel_id(this.ptr);
return ret;
return ret;
}
- public static OutPoint constructor_read(Uint8Array ser) {
+ public static Result_OutPointDecodeErrorZ constructor_read(Uint8Array ser) {
number ret = bindings.OutPoint_read(ser);
- const ret_hu_conv: OutPoint = new OutPoint(null, ret);
- ret_hu_conv.ptrs_to.add(ret_hu_conv);
+ Result_OutPointDecodeErrorZ ret_hu_conv = Result_OutPointDecodeErrorZ.constr_from_ptr(ret);
return ret_hu_conv;
}