WIP Map Impl

Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
This commit is contained in:
2025-07-02 20:44:34 +03:00
parent 2ccfad3875
commit b1b99cb224
2 changed files with 270 additions and 0 deletions

22
map_test.c Normal file
View File

@@ -0,0 +1,22 @@
#include <stdio.h>
#define EV_MAP_IMPLEMENTATION
#include "ev_map.h"
int main()
{
int x = 10;
int y = 100;
int x2 = 300;
int y2 = 123;
ev_map(i32, i32)* m = ev_map_init(i32, i32);
ev_map_add(m, (&x, &y), (&x2, &y2));
i32 out;
ev_map_get(m, &x, &out);
ev_map_fini(m);
return 0;
}