add SLOB allocator
This commit is contained in:
parent
efea10417c
commit
30cc709b8c
7 changed files with 389 additions and 2 deletions
|
|
@ -789,6 +789,9 @@ HTokenType h_get_token_type_number(const char* name);
|
|||
const char* h_get_token_type_name(HTokenType token_type);
|
||||
// }}}
|
||||
|
||||
/// Make an allocator that draws from the given memory area.
|
||||
HAllocator *h_sloballoc(void *mem, size_t size);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue