Rename wast to wat

This commit is contained in:
dcodeIO
2018-02-17 11:09:22 +01:00
parent 6b459259f9
commit e50a23bf75
123 changed files with 8534 additions and 176 deletions

View File

@ -7,12 +7,15 @@
declare function _malloc(size: usize): usize;
declare function _free(ptr: usize): void;
@global
export function allocate_memory(size: usize): usize {
return _malloc(size);
}
@global
export function free_memory(ptr: usize): void {
_free(ptr);
}
@global
export { reset_memory } from "./none";