TS bindings
[ldk-java] / ts / structs / CommonBase.ts
diff --git a/ts/structs/CommonBase.ts b/ts/structs/CommonBase.ts
new file mode 100644 (file)
index 0000000..e216b7a
--- /dev/null
@@ -0,0 +1,8 @@
+
+            export default class CommonBase {
+                ptr: number;
+                ptrs_to: object[] = new Array(); // new LinkedList(); TODO: build linked list implementation
+                protected constructor(ptr: number) { this.ptr = ptr; }
+                public _test_only_get_ptr(): number { return this.ptr; }
+            }
+        
\ No newline at end of file