mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-24 12:11:50 +00:00
Implement reference counting (#592)
This commit is contained in:
@ -1,16 +1,16 @@
|
||||
import { E_NOTIMPLEMENTED } from "./util/error";
|
||||
|
||||
export namespace table {
|
||||
|
||||
// export function copy(dst: u32, src: u32, n: u32): void {
|
||||
// __table_copy(dst, src, n);
|
||||
// }
|
||||
export function copy(dst: u32, src: u32, n: u32): void {
|
||||
throw new Error(E_NOTIMPLEMENTED);
|
||||
}
|
||||
|
||||
// Passive elements
|
||||
export function init(elementIndex: u32, srcOffset: u32, dstOffset: u32, n: u32): void {
|
||||
throw new Error(E_NOTIMPLEMENTED);
|
||||
}
|
||||
|
||||
// export function init(elementIndex: u32, srcOffset: u32, dstOffset: u32, n: u32): void {
|
||||
// __table_init(elementIndex, srcOffset, dstOffset, n);
|
||||
// }
|
||||
|
||||
// export function drop(elementIndex: u32): void {
|
||||
// __table_drop(elementIndex);
|
||||
// }
|
||||
export function drop(elementIndex: u32): void {
|
||||
throw new Error(E_NOTIMPLEMENTED);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user