summaryrefslogtreecommitdiffhomepage
path: root/include/stc/csmap.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-11-27 16:20:02 +0100
committerTyge Løvset <[email protected]>2022-11-27 16:20:02 +0100
commitbd6fdd79ee0aa91796ce88048ee15f7ae0f3e874 (patch)
tree2046964adcb9326d22b877278414cfa61290fc1e /include/stc/csmap.h
parent913cb0ac2f97859ac237f7ae15b29420239837ba (diff)
downloadSTC-modified-bd6fdd79ee0aa91796ce88048ee15f7ae0f3e874.tar.gz
STC-modified-bd6fdd79ee0aa91796ce88048ee15f7ae0f3e874.zip
removed csmap_X_value_cmp(): doesn't work with i_cmp_functor, and not needed for now.
Diffstat (limited to 'include/stc/csmap.h')
-rw-r--r--include/stc/csmap.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/stc/csmap.h b/include/stc/csmap.h
index 84cf2c22..68b69831 100644
--- a/include/stc/csmap.h
+++ b/include/stc/csmap.h
@@ -148,13 +148,6 @@ _cx_memb(_value_toraw)(const _cx_value* val) {
i_valto((&val->second))} );
}
-STC_INLINE int
-_cx_memb(_value_cmp)(const _cx_value* x, const _cx_value* y) {
- const _cx_rawkey rx = i_keyto(_i_keyref(x));
- const _cx_rawkey ry = i_keyto(_i_keyref(y));
- return i_cmp_functor(self, (&rx), (&ry));
-}
-
STC_INLINE void
_cx_memb(_value_drop)(_cx_value* val) {
i_keydrop(_i_keyref(val));