update allocator tests

This commit is contained in:
dcode
2019-05-23 03:33:32 +02:00
parent 51fdf9db4f
commit 2263dfc87a
28 changed files with 5946 additions and 8960 deletions

View File

@ -50,10 +50,10 @@ export function __free(ref: usize): void {
}
// @ts-ignore: decorator
// @unsafe @global
// export function __reset(): void { // special
// offset = startOffset;
// }
@unsafe @global
function __reset(): void { // special
offset = startOffset;
}
// @ts-ignore: decorator
@global @unsafe