X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FHTLCUpdate.ts;h=23f9d9a3d9509e19e19fc6e5f5cccbfeabba67b5;hb=f3e670e9341decac613d33fc52febf19cea32f20;hp=3eaef5532f1a26052442c082f54cff93ddcd4ca3;hpb=e30b350e325e7d517ea744578876d473839ad495;p=ldk-java diff --git a/ts/structs/HTLCUpdate.ts b/ts/structs/HTLCUpdate.ts index 3eaef553..23f9d9a3 100644 --- a/ts/structs/HTLCUpdate.ts +++ b/ts/structs/HTLCUpdate.ts @@ -18,6 +18,11 @@ import * as bindings from '../bindings' // TODO: figure out location bindings.HTLCUpdate_free(this.ptr); } } + public number clone_ptr() { + number ret = bindings.HTLCUpdate_clone_ptr(this.ptr); + return ret; + } + public HTLCUpdate clone() { number ret = bindings.HTLCUpdate_clone(this.ptr); const ret_hu_conv: HTLCUpdate = new HTLCUpdate(null, ret);