summaryrefslogtreecommitdiffhomepage
path: root/include/stc/cmap.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-04-23 14:00:47 +0200
committerTyge Løvset <[email protected]>2022-04-23 14:00:47 +0200
commit2b74b8a880d48232892ca84ac29efacd66905cd4 (patch)
tree306c25535d7983afb640739d6ad0b0e8c00a8e18 /include/stc/cmap.h
parentdd5551dec268da39ad1c5c66de014e4621d24748 (diff)
downloadSTC-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.h3
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