Wrote basic makefile, wrote tests, and then fixed them
This commit is contained in:
parent
7adae0da7c
commit
faab7b7cf8
11 changed files with 137 additions and 11 deletions
|
|
@ -5,7 +5,7 @@
|
|||
typedef struct arena* arena_t; // hidden implementation
|
||||
|
||||
arena_t new_arena(size_t block_size); // pass 0 for default...
|
||||
void* arena_malloc(arena_t arena, size_t count); // TODO: needs the malloc attribute
|
||||
void* arena_malloc(arena_t arena, size_t count) __attribute__(( malloc, alloc_size(2) ));
|
||||
void delete_arena(arena_t arena);
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue