X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FPeerHandleError.ts;fp=ts%2Fstructs%2FPeerHandleError.ts;h=52504971e59ec71a14abaa95c3bb5ada4a63f782;hb=246459dcbc3be28c38b4951140a5933f4b3aa024;hp=2bae7bb77170e6aa96cc347a18c3a663bfbcdf08;hpb=b52dde859c138f9257499496749d1eb89f9f6f43;p=ldk-java diff --git a/ts/structs/PeerHandleError.ts b/ts/structs/PeerHandleError.ts index 2bae7bb7..52504971 100644 --- a/ts/structs/PeerHandleError.ts +++ b/ts/structs/PeerHandleError.ts @@ -18,13 +18,6 @@ import * as bindings from '../bindings' // TODO: figure out location bindings.PeerHandleError_free(this.ptr); } } - public PeerHandleError clone() { - number ret = bindings.PeerHandleError_clone(this.ptr); - const ret_hu_conv: PeerHandleError = new PeerHandleError(null, ret); - ret_hu_conv.ptrs_to.add(this); - return ret_hu_conv; - } - public boolean get_no_connection_possible() { boolean ret = bindings.PeerHandleError_get_no_connection_possible(this.ptr); return ret; @@ -41,4 +34,11 @@ import * as bindings from '../bindings' // TODO: figure out location return ret_hu_conv; } + public PeerHandleError clone() { + number ret = bindings.PeerHandleError_clone(this.ptr); + const ret_hu_conv: PeerHandleError = new PeerHandleError(null, ret); + ret_hu_conv.ptrs_to.add(this); + return ret_hu_conv; + } + }