X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FChannelFeatures.ts;fp=ts%2Fstructs%2FChannelFeatures.ts;h=1abee1744b5afece65b069c5aa385e6be8c6e4c4;hb=0f5027835d5a668a9b296f6d9e0fe894d3a6956d;hp=1b6dd141a278d76e001a56a62116ba64db01843b;hpb=a77a2856c7cd010a7b478cce793f7c9f999284d8;p=ldk-java diff --git a/ts/structs/ChannelFeatures.ts b/ts/structs/ChannelFeatures.ts index 1b6dd141..1abee174 100644 --- a/ts/structs/ChannelFeatures.ts +++ b/ts/structs/ChannelFeatures.ts @@ -18,6 +18,12 @@ import * as bindings from '../bindings' // TODO: figure out location bindings.ChannelFeatures_free(this.ptr); } } + public boolean eq(ChannelFeatures b) { + boolean ret = bindings.ChannelFeatures_eq(this.ptr, b == null ? 0 : b.ptr & ~1); + this.ptrs_to.add(b); + return ret; + } + public ChannelFeatures clone() { number ret = bindings.ChannelFeatures_clone(this.ptr); const ret_hu_conv: ChannelFeatures = new ChannelFeatures(null, ret);