X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FThreeTuple_RawInvoice_u832InvoiceSignatureZ.ts;h=e1a156442c10ef7d526416c17d34ca8b76b18af5;hb=f3e670e9341decac613d33fc52febf19cea32f20;hp=cdcd147a7fc9358745b82a4fd1266b89fe2ac87b;hpb=e30b350e325e7d517ea744578876d473839ad495;p=ldk-java diff --git a/ts/structs/ThreeTuple_RawInvoice_u832InvoiceSignatureZ.ts b/ts/structs/ThreeTuple_RawInvoice_u832InvoiceSignatureZ.ts index cdcd147a..e1a15644 100644 --- a/ts/structs/ThreeTuple_RawInvoice_u832InvoiceSignatureZ.ts +++ b/ts/structs/ThreeTuple_RawInvoice_u832InvoiceSignatureZ.ts @@ -18,4 +18,42 @@ import * as bindings from '../bindings' // TODO: figure out location bindings.C3Tuple_RawInvoice_u832InvoiceSignatureZ_free(this.ptr); } } + public RawInvoice get_a() { + number ret = bindings.C3Tuple_RawInvoice_u832InvoiceSignatureZ_get_a(this.ptr); + const ret_hu_conv: RawInvoice = new RawInvoice(null, ret); + ret_hu_conv.ptrs_to.add(this); + return ret_hu_conv; + } + + public Uint8Array get_b() { + Uint8Array ret = bindings.C3Tuple_RawInvoice_u832InvoiceSignatureZ_get_b(this.ptr); + return ret; + } + + public InvoiceSignature get_c() { + number ret = bindings.C3Tuple_RawInvoice_u832InvoiceSignatureZ_get_c(this.ptr); + const ret_hu_conv: InvoiceSignature = new InvoiceSignature(null, ret); + ret_hu_conv.ptrs_to.add(this); + return ret_hu_conv; + } + + public number clone_ptr() { + number ret = bindings.C3Tuple_RawInvoice_u832InvoiceSignatureZ_clone_ptr(this.ptr); + return ret; + } + + public ThreeTuple_RawInvoice_u832InvoiceSignatureZ clone() { + number ret = bindings.C3Tuple_RawInvoice_u832InvoiceSignatureZ_clone(this.ptr); + ThreeTuple_RawInvoice_u832InvoiceSignatureZ ret_hu_conv = new ThreeTuple_RawInvoice_u832InvoiceSignatureZ(null, ret); + ret_hu_conv.ptrs_to.add(this); + return ret_hu_conv; + } + + public static ThreeTuple_RawInvoice_u832InvoiceSignatureZ constructor_new(RawInvoice a, Uint8Array b, InvoiceSignature c) { + number ret = bindings.C3Tuple_RawInvoice_u832InvoiceSignatureZ_new(a == null ? 0 : a.ptr & ~1, InternalUtils.check_arr_len(b, 32), c == null ? 0 : c.ptr & ~1); + ThreeTuple_RawInvoice_u832InvoiceSignatureZ ret_hu_conv = new ThreeTuple_RawInvoice_u832InvoiceSignatureZ(null, ret); + ret_hu_conv.ptrs_to.add(ret_hu_conv); + return ret_hu_conv; + } + }