aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2026-04-21 19:48:36 +0300
committerSyndamia <kamen@syndamia.com>2026-04-21 19:48:36 +0300
commit3b543388b988702c984d80a35e97ea134d9ed481 (patch)
tree78e9446efd4e9703f4fa8cb56602398b5dd763bd /main.c
parent65452e3680e411da643bd03107637c2d9ef01312 (diff)
downloadfoollib-3b543388b988702c984d80a35e97ea134d9ed481.tar
foollib-3b543388b988702c984d80a35e97ea134d9ed481.tar.gz
foollib-3b543388b988702c984d80a35e97ea134d9ed481.zip
feat!: Function rename and standardize
Diffstat (limited to 'main.c')
-rw-r--r--main.c29
1 files changed, 0 insertions, 29 deletions
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 <stdio.h>
-
-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;
-}