From 3b543388b988702c984d80a35e97ea134d9ed481 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Tue, 21 Apr 2026 19:48:36 +0300 Subject: feat!: Function rename and standardize --- main.c | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 main.c (limited to 'main.c') diff --git a/main.c b/main.c deleted file mode 100644 index ccec7b2..0000000 --- a/main.c +++ /dev/null @@ -1,29 +0,0 @@ -#include "Array.h" -#include "BumpAlloc.h" -#include "GlobalArena.h" -#include "String.h" -#include - -int -main() { - g_arena = Bcreate(KiB(4)); - - int *nums = Array_Gnew(sizeof(int), 8); - for (int i = 10; i < 20; ++i) { - Array_push(nums, &i); - } - - printf("%lu/%lu |", Array_count(nums), Array_length(nums)); - for (int i = 0; i < Array_count(nums); ++i) - printf(" %d", nums[i]); - printf("\n"); - - String s = String_Gconcat("Hello", " ", "World", "!", NULL); - printf("%s\n", s); - - String s1 = String_Gprintf("%s #%d\n", s, 5); - printf("%s\n", s1); - - Bdestroy(g_arena); - return 0; -} -- cgit v1.2.3