diff options
| author | Tyge Løvset <[email protected]> | 2022-09-21 19:28:23 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-09-21 19:28:23 +0200 |
| commit | c3cefd740a90378a53698df639d7889c6baffcb8 (patch) | |
| tree | 06abef793b8f9eabed59000596c4fe78601c3edc /include/stc/csmap.h | |
| parent | 307c0a111c8f063032ba90b2a7ae07122e2a2b1a (diff) | |
| download | STC-modified-c3cefd740a90378a53698df639d7889c6baffcb8.tar.gz STC-modified-c3cefd740a90378a53698df639d7889c6baffcb8.zip | |
Added cstr_push(), cstr_pop() - push/pop one utf8 char.
Renamed c_forpred() to c_forloop() - used by c_forfiltered().
Diffstat (limited to 'include/stc/csmap.h')
| -rw-r--r-- | include/stc/csmap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/stc/csmap.h b/include/stc/csmap.h index c773e70f..bcb85a6b 100644 --- a/include/stc/csmap.h +++ b/include/stc/csmap.h @@ -150,7 +150,8 @@ _cx_memb(_value_toraw)(const _cx_value* val) { STC_INLINE int _cx_memb(_value_cmp)(const _cx_value* x, const _cx_value* y) { - const _cx_rawkey rx = i_keyto(_i_keyref(x)), ry = i_keyto(_i_keyref(y)); + const _cx_rawkey rx = i_keyto(_i_keyref(x)); + const _cx_rawkey ry = i_keyto(_i_keyref(y)); return i_cmp((&rx), (&ry)); } |
