X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FRawInvoice.ts;h=3cd1b0412d89129315d05b4036d978bc90de2eac;hb=f3e670e9341decac613d33fc52febf19cea32f20;hp=bb6a5dce0783f246382d25247230d2758e258bf3;hpb=e30b350e325e7d517ea744578876d473839ad495;p=ldk-java diff --git a/ts/structs/RawInvoice.ts b/ts/structs/RawInvoice.ts index bb6a5dce..3cd1b041 100644 --- a/ts/structs/RawInvoice.ts +++ b/ts/structs/RawInvoice.ts @@ -35,6 +35,11 @@ import * as bindings from '../bindings' // TODO: figure out location return ret; } + public number clone_ptr() { + number ret = bindings.RawInvoice_clone_ptr(this.ptr); + return ret; + } + public RawInvoice clone() { number ret = bindings.RawInvoice_clone(this.ptr); const ret_hu_conv: RawInvoice = new RawInvoice(null, ret);