summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2022-12-31 02:50:59 +0100
committerThomas Voss <mail@thomasvoss.com> 2022-12-31 02:51:26 +0100
commit52118baecb0b6e580814db69e52a02c233c633df (patch)
treea9c5601d416f1e1e5a58c2077acb7d2abfa7ecf0 /examples
parent84c39cf8719ae72870ef8038d7563c0b4e211d0b (diff)
Add the GEHASHMAP_DEF macro
Diffstat (limited to 'examples')
-rw-r--r--examples/gehashmap.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/gehashmap.c b/examples/gehashmap.c
index 7d6d1a4..17f8eb4 100644
--- a/examples/gehashmap.c
+++ b/examples/gehashmap.c
@@ -4,10 +4,8 @@
#include <gehashmap.h>
-GEHASHMAP_API(char *, int, atoimap)
-GEHASHMAP_API(int, unsigned int, itoumap)
-GEHASHMAP_IMPL(char *, int, atoimap)
-GEHASHMAP_IMPL(int, unsigned int, itoumap)
+GEHASHMAP_DEF(char *, int, atoimap)
+GEHASHMAP_DEF(int, unsigned int, itoumap)
bool
atoimap_key_iseq(char *a, char *b)