3 import CommonBase from './CommonBase';
4 import * as bindings from '../bindings' // TODO: figure out location
8 export default class C2Tuple_u32TxOutZ extends CommonBase {
9 constructor(_dummy: object, ptr: number) {
14 protected finalize() {
18 bindings.C2Tuple_u32TxOutZ_free(this.ptr);
21 public number get_a() {
22 number ret = bindings.C2Tuple_u32TxOutZ_get_a(this.ptr);
26 public TxOut get_b() {
27 number ret = bindings.C2Tuple_u32TxOutZ_get_b(this.ptr);
28 TxOut ret_conv = new TxOut(null, ret);
32 public number clone_ptr() {
33 number ret = bindings.C2Tuple_u32TxOutZ_clone_ptr(this.ptr);
37 public TwoTuple_u32TxOutZ clone() {
38 number ret = bindings.C2Tuple_u32TxOutZ_clone(this.ptr);
39 TwoTuple_u32TxOutZ ret_hu_conv = new TwoTuple_u32TxOutZ(null, ret);
40 ret_hu_conv.ptrs_to.add(this);
44 public static TwoTuple_u32TxOutZ constructor_new(number a, TxOut b) {
45 number ret = bindings.C2Tuple_u32TxOutZ_new(a, b.ptr);
46 TwoTuple_u32TxOutZ ret_hu_conv = new TwoTuple_u32TxOutZ(null, ret);
47 ret_hu_conv.ptrs_to.add(ret_hu_conv);