Remove old arena aliases without the prefix

This commit is contained in:
kamkow1
2025-06-01 13:31:17 +02:00
parent ed39351983
commit f2aa836d4f
2 changed files with 3 additions and 4 deletions

View File

@ -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
View File

@ -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