Derive-C
Loading...
Searching...
No Matches
worst.h File Reference

Go to the source code of this file.

Macros

#define WORST(type, ...)
 The worst possible hash, for testing purposes.

Macro Definition Documentation

◆ WORST

#define WORST ( type,
... )
Value:
DC_PUBLIC static size_t type##_hash_worst(type const* key) { \
(void)key; \
return 0; \
}
#define DC_PUBLIC
Definition namespace.h:25

The worst possible hash, for testing purposes.

Definition at line 7 of file worst.h.

7#define WORST(type, ...) \
8 DC_PUBLIC static size_t type##_hash_worst(type const* key) { \
9 (void)key; \
10 return 0; \
11 }