X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FType.ts;h=fda6128ed8c0db147040ddc8a0961d1ce4047f5e;hb=f3e670e9341decac613d33fc52febf19cea32f20;hp=8441989fd05f96f00ba90b8773ba644eb1ef8fc8;hpb=e30b350e325e7d517ea744578876d473839ad495;p=ldk-java diff --git a/ts/structs/Type.ts b/ts/structs/Type.ts index 8441989f..fda6128e 100644 --- a/ts/structs/Type.ts +++ b/ts/structs/Type.ts @@ -78,6 +78,11 @@ import * as bindings from '../bindings' // TODO: figure out location return ret; } + public number clone_ptr() { + number ret = bindings.Type_clone_ptr(this.ptr); + return ret; + } + public Type clone() { number ret = bindings.Type_clone(this.ptr); Type ret_hu_conv = new Type(null, ret);