]> git.bitcoin.ninja Git - ldk-java/blob - ts/structs/CommonBase.ts
Merge pull request #20 from TheBlueMatt/main
[ldk-java] / ts / structs / CommonBase.ts
1
2             export default class CommonBase {
3                 ptr: number;
4                 ptrs_to: object[] = []; // new LinkedList(); TODO: build linked list implementation
5                 protected constructor(ptr: number) { this.ptr = ptr; }
6                 public _test_only_get_ptr(): number { return this.ptr; }
7                 protected finalize() {
8                     // TODO: finalize myself
9                 }
10             }