external gc interface

This commit is contained in:
dcode
2019-03-28 11:07:47 +01:00
parent 41abc0166c
commit 0dcfcc7935
8 changed files with 2573 additions and 17 deletions

View File

@ -1,14 +1,16 @@
import { E_NOTIMPLEMENTED } from "./util/error";
export namespace table {
export function copy(dst: u32, src: u32, n: u32): void {
ERROR("not implemented: table.copy");
throw new Error(E_NOTIMPLEMENTED);
}
export function init(elementIndex: u32, srcOffset: u32, dstOffset: u32, n: u32): void {
ERROR("not implemented: table.init");
throw new Error(E_NOTIMPLEMENTED);
}
export function drop(elementIndex: u32): void {
ERROR("not implemented: table.drop");
throw new Error(E_NOTIMPLEMENTED);
}
}