From bd6fdd79ee0aa91796ce88048ee15f7ae0f3e874 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Sun, 27 Nov 2022 16:20:02 +0100 Subject: removed csmap_X_value_cmp(): doesn't work with i_cmp_functor, and not needed for now. --- include/stc/csmap.h | 7 ------- 1 file changed, 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)); -- cgit v1.2.3