Update auto-generated bindings
[ldk-java] / ts / structs / InvoiceSignature.ts
diff --git a/ts/structs/InvoiceSignature.ts b/ts/structs/InvoiceSignature.ts
new file mode 100644 (file)
index 0000000..b85e2b4
--- /dev/null
@@ -0,0 +1,34 @@
+
+            
+import CommonBase from './CommonBase';
+import * as bindings from '../bindings' // TODO: figure out location
+
+
+
+            export default class InvoiceSignature extends CommonBase {
+                constructor(_dummy: object, ptr: number) {
+                    super(ptr);
+                }
+
+                
+                protected finalize() {
+                    super.finalize();
+
+                    if (this.ptr != 0) {
+                        bindings.InvoiceSignature_free(this.ptr);
+                    }
+                }
+       public boolean eq(InvoiceSignature b) {
+               boolean ret = bindings.InvoiceSignature_eq(this.ptr, b == null ? 0 : b.ptr & ~1);
+               this.ptrs_to.add(b);
+               return ret;
+       }
+
+       public InvoiceSignature clone() {
+               number ret = bindings.InvoiceSignature_clone(this.ptr);
+               const ret_hu_conv: InvoiceSignature = new InvoiceSignature(null, ret);
+               ret_hu_conv.ptrs_to.add(this);
+               return ret_hu_conv;
+       }
+
+}