Put the custom allocator in its own lib, as to lessen the difficulty to switch between libc's allocator and a custom one (#7)
This commit is contained in:
parent
713f0f0302
commit
cb7f3c3fdf
85 changed files with 1121 additions and 877 deletions
|
|
@ -29,9 +29,9 @@ t_error str_reserve(t_buffer_str *buf, t_usize size);
|
|||
|
||||
static inline void str_free(t_buffer_str buf)
|
||||
{
|
||||
void me_free(void *);
|
||||
void mem_free(void *);
|
||||
|
||||
me_free(buf.buf);
|
||||
mem_free(buf.buf);
|
||||
}
|
||||
|
||||
static inline char str_pop(t_buffer_str *buf)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue