aboutsummaryrefslogtreecommitdiff
path: root/src/types/map.h
diff options
context:
space:
mode:
authorame <[email protected]>2024-03-13 16:03:10 -0500
committerame <[email protected]>2024-03-13 16:03:10 -0500
commiteb6608e16d253ded9ee3979f236b68d4988c1da5 (patch)
tree6e7f5619f468e5b4e34378def3e9f2960d909b38 /src/types/map.h
parent2a3575134b386b60bafbf59d6475cf45ded7d4e3 (diff)
blake2{b,s} and maybe other stuff
Diffstat (limited to 'src/types/map.h')
-rw-r--r--src/types/map.h58
1 files changed, 29 insertions, 29 deletions
diff --git a/src/types/map.h b/src/types/map.h
index efa6d65..2603f47 100644
--- a/src/types/map.h
+++ b/src/types/map.h
@@ -1,30 +1,30 @@
-
-#ifndef _MAP_H
-#define _MAP_H
-
-#include <stdint.h>
-#include "str.h"
-#include "parray.h"
-
-typedef struct {
- void* value;
- str* key;
- uint64_t hash;
- int used;
-} melem_t;
-
-typedef struct {
- melem_t* M;
- int len;
- int mod;
-} map_t;
-
-map_t* map_init();
-void map_set(map_t**, char*, void*);
-void* map_get(map_t* , char*);
-int map_geti(map_t* , char*);
-void map_remove(map_t* p, char* key, enum free_type free);
-void map_clear(map_t*, enum free_type);
-void map_lclear(map_t*);
-
+
+#ifndef _MAP_H
+#define _MAP_H
+
+#include <stdint.h>
+#include "str.h"
+#include "parray.h"
+
+typedef struct {
+ void* value;
+ str* key;
+ uint64_t hash;
+ int used;
+} melem_t;
+
+typedef struct {
+ melem_t* M;
+ int len;
+ int mod;
+} map_t;
+
+map_t* map_init();
+void map_set(map_t**, char*, void*);
+void* map_get(map_t* , char*);
+int map_geti(map_t* , char*);
+void map_remove(map_t* p, char* key, enum free_type free);
+void map_clear(map_t*, enum free_type);
+void map_lclear(map_t*);
+
#endif //_MAP_H \ No newline at end of file