Derive-C
Loading...
Searching...
No Matches
worst.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
derive-c/core/prelude.h
>
4
#include <
derive-c/core/std/reflect.h
>
5
7
#define WORST(type, ...) \
8
DC_PUBLIC static size_t type##_hash_worst(type const* key) { \
9
(void)key; \
10
return 0; \
11
}
12
13
DC_INT_REFLECT
(
WORST
)
14
15
#undef WORST
prelude.h
reflect.h
DC_INT_REFLECT
#define DC_INT_REFLECT(F,...)
Definition
reflect.h:11
WORST
#define WORST(type,...)
The worst possible hash, for testing purposes.
Definition
worst.h:7
src
derive-c
algorithm
hash
worst.h
Generated by
1.15.0