X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FInvoiceFeatures.ts;h=a184d7bd0cc8fb7940c52ae0f0f1eab88c020cca;hb=0fee03a8095f5599f8eccd920c1b1af6b3a20260;hp=ba5f0bf0dadc64b14db3a4c5d587aa705577fc3a;hpb=f8c25e52ce878136043ddc4dbfac6c6640f1d4f6;p=ldk-java diff --git a/ts/structs/InvoiceFeatures.ts b/ts/structs/InvoiceFeatures.ts index ba5f0bf0..a184d7bd 100644 --- a/ts/structs/InvoiceFeatures.ts +++ b/ts/structs/InvoiceFeatures.ts @@ -18,6 +18,17 @@ import * as bindings from '../bindings' // TODO: figure out location bindings.InvoiceFeatures_free(this.ptr); } } + public boolean eq(InvoiceFeatures b) { + boolean ret = bindings.InvoiceFeatures_eq(this.ptr, b == null ? 0 : b.ptr & ~1); + this.ptrs_to.add(b); + return ret; + } + + public number clone_ptr() { + number ret = bindings.InvoiceFeatures_clone_ptr(this.ptr); + return ret; + } + public InvoiceFeatures clone() { number ret = bindings.InvoiceFeatures_clone(this.ptr); const ret_hu_conv: InvoiceFeatures = new InvoiceFeatures(null, ret); @@ -39,6 +50,11 @@ import * as bindings from '../bindings' // TODO: figure out location return ret_hu_conv; } + public boolean requires_unknown_bits() { + boolean ret = bindings.InvoiceFeatures_requires_unknown_bits(this.ptr); + return ret; + } + public Uint8Array write() { Uint8Array ret = bindings.InvoiceFeatures_write(this.ptr); return ret;