From ae47797f8332e573d3e3e36cf2be9e6bbdf29553 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Tue, 17 Dec 2024 15:30:06 -0500 Subject: [PATCH] Add missing #define constant for null key --- src/hash-table.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/hash-table.h b/src/hash-table.h index 735c754..9b22147 100644 --- a/src/hash-table.h +++ b/src/hash-table.h @@ -78,6 +78,11 @@ typedef void *HashTableKey; */ typedef void *HashTableValue; +/** + * A null @ref HashTableKey. + */ +#define HASH_TABLE_KEY_NULL ((void *) 0) + /** * A null @ref HashTableValue. */