Remove old arena aliases without the prefix
This commit is contained in:
@ -9,14 +9,14 @@ typedef struct {
|
||||
|
||||
int main(void)
|
||||
{
|
||||
Arena arena = gebs_arena_get();
|
||||
Arena arena = arena_get();
|
||||
defer { arena_destroy(&arena); }
|
||||
|
||||
Ints ints = {0};
|
||||
for (size_t i = 0; i < 10000; i++) {
|
||||
list_append_alloc(&arena, &ints, i);
|
||||
}
|
||||
gebs_arena_reset(&arena);
|
||||
arena_reset(&arena);
|
||||
|
||||
printf("%s\n", fmt("Hello formatting %d", 124));
|
||||
|
||||
|
3
gebs.h
3
gebs.h
@ -786,8 +786,7 @@ void gebs_rebuild_self1_alloc(Gebs_Allocator *alloc, int argc, char ** argv,
|
||||
#define Arena Gebs_Arena
|
||||
#define arena_reset gebs_arena_reset
|
||||
#define arena_destroy gebs_arena_destroy
|
||||
#define arena_make gebs_arena_make
|
||||
#define arena_expand gebs_arena_expand
|
||||
#define arena_get gebs_arena_get
|
||||
|
||||
#define list_append_alloc gebs_list_append_alloc
|
||||
#define list_append gebs_list_append
|
||||
|
Reference in New Issue
Block a user