Skip to content

Commit

Permalink
Add missing #define constant for null key
Browse files Browse the repository at this point in the history
  • Loading branch information
fragglet committed Dec 17, 2024
1 parent 56f7b91 commit ae47797
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/hash-table.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit ae47797

Please sign in to comment.