mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-12 22:41:27 +00:00
Make TLSF always align to 8 bytes, see #15
This commit is contained in:
@ -1,7 +1,9 @@
|
||||
/////////////////////////// System Memory Allocator ////////////////////////////
|
||||
|
||||
// Uses the environment's malloc and free implementations, i.e., when linking
|
||||
// with other C-like programs that already provide these.
|
||||
/**
|
||||
* @file System Memory Allocator
|
||||
*
|
||||
* Uses the environment's malloc and free implementations, i.e., when linking with other C-like
|
||||
* programs that already provide these.
|
||||
*/
|
||||
|
||||
declare function malloc(size: usize): usize;
|
||||
declare function free(ptr: usize): void;
|
||||
|
Reference in New Issue
Block a user