summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-07-25 16:51:09 (GMT)
committerGitHub <noreply@github.com>2022-07-25 16:51:09 (GMT)
commitdf1ce61f1b4884681c00b342a8651e4d48a91881 (patch)
treece24cfa54a8727eb9c3cefb452ccbd3396925328 /src/H5private.h
parentb49c2847181e67e0cc2e123cf63fc86643f54a6d (diff)
downloadhdf5-df1ce61f1b4884681c00b342a8651e4d48a91881.zip
hdf5-df1ce61f1b4884681c00b342a8651e4d48a91881.tar.gz
hdf5-df1ce61f1b4884681c00b342a8651e4d48a91881.tar.bz2
Switches the tagged metadata list from a skip list to a hash table (#1925)
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/H5private.h b/src/H5private.h
index 415855a..53ed809 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -139,6 +139,15 @@
#define R_OK 04
#endif
+/* uthash is an external, header-only hash table implementation.
+ *
+ * We include the file directly in src/ and #define a few functions
+ * to use our internal memory calls.
+ */
+#define uthash_malloc(sz) H5MM_malloc(sz)
+#define uthash_free(ptr, sz) H5MM_free(ptr) /* Ignoring sz is intentional */
+#include "uthash.h"
+
/*
* MPE Instrumentation support
*/