X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FExpiryTime.ts;h=47b3210745ea0f51f5d52969fa5e49b7dc3f2f7f;hb=f3e670e9341decac613d33fc52febf19cea32f20;hp=90390158f9154e3c385f429febb3ea4eeb627c7d;hpb=e30b350e325e7d517ea744578876d473839ad495;p=ldk-java diff --git a/ts/structs/ExpiryTime.ts b/ts/structs/ExpiryTime.ts index 90390158..47b32107 100644 --- a/ts/structs/ExpiryTime.ts +++ b/ts/structs/ExpiryTime.ts @@ -18,6 +18,11 @@ import * as bindings from '../bindings' // TODO: figure out location bindings.ExpiryTime_free(this.ptr); } } + public number clone_ptr() { + number ret = bindings.ExpiryTime_clone_ptr(this.ptr); + return ret; + } + public ExpiryTime clone() { number ret = bindings.ExpiryTime_clone(this.ptr); const ret_hu_conv: ExpiryTime = new ExpiryTime(null, ret);