We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 565903a commit ac8eb97Copy full SHA for ac8eb97
src/include/lib/simplehash.h
@@ -88,8 +88,11 @@
88
#define SH_ENTRY_HASH SH_MAKE_NAME(entry_hash)
89
90
/* Allocation function for hash table elements */
91
+#ifndef SIMPLEHASH_TYPEDEFS
92
+#define SIMPLEHASH_TYPEDEFS
93
typedef void *(*simplehash_allocate) (Size size, void *args);
94
typedef void (*simplehash_free) (void *pointer, void *args);
95
+#endif
96
97
/* generate forward declarations necessary to use the hash table */
98
#ifdef SH_DECLARE
0 commit comments