Make TLSF always align to 8 bytes, see #15

This commit is contained in:
dcodeIO
2018-03-04 01:30:16 +01:00
parent f754b24819
commit 4257273d42
11 changed files with 2164 additions and 2156 deletions

View File

@ -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;