Skip to content

Commit ae47797

Browse files
committed
Add missing #define constant for null key
1 parent 56f7b91 commit ae47797

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/hash-table.h

+5
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ typedef void *HashTableKey;
7878
*/
7979
typedef void *HashTableValue;
8080

81+
/**
82+
* A null @ref HashTableKey.
83+
*/
84+
#define HASH_TABLE_KEY_NULL ((void *) 0)
85+
8186
/**
8287
* A null @ref HashTableValue.
8388
*/

0 commit comments

Comments
 (0)