mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-25 23:12:19 +00:00
16 lines
297 B
TypeScript
16 lines
297 B
TypeScript
/**
|
|
* @file Memory Allocator Stub
|
|
*/
|
|
|
|
export function allocate_memory(size: usize): usize {
|
|
throw new Error("not supported");
|
|
}
|
|
|
|
export function free_memory(ptr: usize): void {
|
|
throw new Error("not supported");
|
|
}
|
|
|
|
export function reset_memory(): void {
|
|
throw new Error("not supported");
|
|
}
|