Made a memory allocator (crude)
This commit is contained in:
parent
b5c7344851
commit
941bac31b6
53 changed files with 469 additions and 146 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 free(void *);
|
||||
void me_free(void *);
|
||||
|
||||
free(buf.buf);
|
||||
me_free(buf.buf);
|
||||
}
|
||||
|
||||
static inline char str_pop(t_buffer_str *buf)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue