diff options
| author | Tyge Løvset <[email protected]> | 2022-04-23 14:00:47 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-04-23 14:00:47 +0200 |
| commit | 2b74b8a880d48232892ca84ac29efacd66905cd4 (patch) | |
| tree | 306c25535d7983afb640739d6ad0b0e8c00a8e18 /include/stc/cmap.h | |
| parent | dd5551dec268da39ad1c5c66de014e4621d24748 (diff) | |
| download | STC-modified-2b74b8a880d48232892ca84ac29efacd66905cd4.tar.gz STC-modified-2b74b8a880d48232892ca84ac29efacd66905cd4.zip | |
Integrated (and removed) c_hash32 and c_hash64 into c_default_hash, which is improved. Added i_key_ssv and i_val_ssv (cstr with csview as raw-type).
Diffstat (limited to 'include/stc/cmap.h')
| -rw-r--r-- | include/stc/cmap.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/stc/cmap.h b/include/stc/cmap.h index 6cde2532..978d624a 100644 --- a/include/stc/cmap.h +++ b/include/stc/cmap.h @@ -72,9 +72,6 @@ typedef struct { size_t idx; uint8_t hx; } chash_bucket_t; #endif
#define _i_ishash
#include "template.h"
-#ifdef _i_no_hash
- #error "i_hash must be defined if i_cmp, i_eq or i_keyfrom is defined for cmap/cset. For basic types c_default_hash may be used."
-#endif
#if !c_option(c_is_fwd)
_cx_deftypes(_c_chash_types, _cx_self, i_key, i_val, i_size, _i_MAP_ONLY, _i_SET_ONLY);
#endif
|
