From ed2dd6874a905769c5cfc080333ab0b12f9a9fe8 Mon Sep 17 00:00:00 2001 From: ame Date: Thu, 24 Jul 2025 02:32:37 -0500 Subject: errors and then,, yknow fix them --- src/types/map.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/types/map.c') diff --git a/src/types/map.c b/src/types/map.c index 31e79a9..abf075c 100644 --- a/src/types/map.c +++ b/src/types/map.c @@ -114,22 +114,3 @@ void map_clear(map_t* M, enum free_type free){ } map_lclear(M); } - -int __main(){ - int i = 5; - int b = 24; - int c = 9; - map_t* m = map_init(); - - map_set(&m, "wowa", &b); - printf("%i\n",*(int*)map_get(m, "wowa")); - map_set(&m, "aw", &i); - map_set(&m, "awc", &i); - map_set(&m, "awa", &i); - map_set(&m, "aww", &i); - printf("%i\n",*(int*)map_get(m, "wowa")); - - map_clear(m, NONE); - - return 0; -} -- cgit v1.2.3