X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FInvoice.ts;h=aa559f5aac86b32d2fc40e8d1f8833c0d4f2d008;hb=f3e670e9341decac613d33fc52febf19cea32f20;hp=d5fa849d28b9e38b1b2dad04eb87ba3ae6deb90c;hpb=e30b350e325e7d517ea744578876d473839ad495;p=ldk-java diff --git a/ts/structs/Invoice.ts b/ts/structs/Invoice.ts index d5fa849d..aa559f5a 100644 --- a/ts/structs/Invoice.ts +++ b/ts/structs/Invoice.ts @@ -24,6 +24,11 @@ import * as bindings from '../bindings' // TODO: figure out location return ret; } + public number clone_ptr() { + number ret = bindings.Invoice_clone_ptr(this.ptr); + return ret; + } + public Invoice clone() { number ret = bindings.Invoice_clone(this.ptr); const ret_hu_conv: Invoice = new Invoice(null, ret);