mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-22 19:21:47 +00:00
More cleanup and a possible fix for #29
This commit is contained in:
11
std/assembly/allocator/none.ts
Normal file
11
std/assembly/allocator/none.ts
Normal file
@ -0,0 +1,11 @@
|
||||
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");
|
||||
}
|
Reference in New Issue
Block a user