X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FTwoTuple_OutPointScriptZ.ts;h=0a9dd35b2088d99fe2bae71583622e69dfc05f3f;hb=f3e670e9341decac613d33fc52febf19cea32f20;hp=1a45c6afc1f5de5f86b3bd2300905d3e8d7526ee;hpb=f6c75b182a7786062a4966e8939701ef59092509;p=ldk-java diff --git a/ts/structs/TwoTuple_OutPointScriptZ.ts b/ts/structs/TwoTuple_OutPointScriptZ.ts index 1a45c6af..0a9dd35b 100644 --- a/ts/structs/TwoTuple_OutPointScriptZ.ts +++ b/ts/structs/TwoTuple_OutPointScriptZ.ts @@ -30,6 +30,11 @@ import * as bindings from '../bindings' // TODO: figure out location return ret; } + public number clone_ptr() { + number ret = bindings.C2Tuple_OutPointScriptZ_clone_ptr(this.ptr); + return ret; + } + public TwoTuple_OutPointScriptZ clone() { number ret = bindings.C2Tuple_OutPointScriptZ_clone(this.ptr); TwoTuple_OutPointScriptZ ret_hu_conv = new TwoTuple_OutPointScriptZ(null, ret); @@ -41,7 +46,6 @@ import * as bindings from '../bindings' // TODO: figure out location number ret = bindings.C2Tuple_OutPointScriptZ_new(a == null ? 0 : a.ptr & ~1, b); TwoTuple_OutPointScriptZ ret_hu_conv = new TwoTuple_OutPointScriptZ(null, ret); ret_hu_conv.ptrs_to.add(ret_hu_conv); - ret_hu_conv.ptrs_to.add(a); return ret_hu_conv; }