projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add license information
[ldk-java]
/
ts
/
structs
/
CommonBase.ts
diff --git
a/ts/structs/CommonBase.ts
b/ts/structs/CommonBase.ts
index e216b7ae495602b80c2b588fd03312544d677903..2f7a0f01fa822d1d44cfabf93b3c019cc0e6bfc7 100644
(file)
--- a/
ts/structs/CommonBase.ts
+++ b/
ts/structs/CommonBase.ts
@@
-1,8
+1,10
@@
export default class CommonBase {
ptr: number;
export default class CommonBase {
ptr: number;
- ptrs_to: object[] =
new Array()
; // new LinkedList(); TODO: build linked list implementation
+ ptrs_to: object[] =
[]
; // new LinkedList(); TODO: build linked list implementation
protected constructor(ptr: number) { this.ptr = ptr; }
public _test_only_get_ptr(): number { return this.ptr; }
protected constructor(ptr: number) { this.ptr = ptr; }
public _test_only_get_ptr(): number { return this.ptr; }
+ protected finalize() {
+ // TODO: finalize myself
+ }
}
}
-
\ No newline at end of file