aboutsummaryrefslogtreecommitdiff
path: root/src/types
diff options
context:
space:
mode:
authorame <[email protected]>2025-07-24 02:32:37 -0500
committerame <[email protected]>2025-07-24 02:32:37 -0500
commited2dd6874a905769c5cfc080333ab0b12f9a9fe8 (patch)
tree60e29dbb01635dc9a94e02709520baea1b63d5fe /src/types
parentb392bec30ebdd4c84446623193b82531b8001b88 (diff)
errors and then,, yknow fix them
Diffstat (limited to 'src/types')
-rw-r--r--src/types/map.c19
1 files changed, 0 insertions, 19 deletions
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;
-}