summaryrefslogtreecommitdiffhomepage
path: root/include/stc/csset.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-08-31 16:51:12 +0200
committerTyge Løvset <[email protected]>2021-08-31 16:51:12 +0200
commit824708874053e550ab866d97c5a723691ed2b56e (patch)
treef6626a1f1463843df7a4bde1132fdd7aab2c9a96 /include/stc/csset.h
parent6371e122b2447f08c8d8859b3530d79be1831f10 (diff)
downloadSTC-modified-824708874053e550ab866d97c5a723691ed2b56e.tar.gz
STC-modified-824708874053e550ab866d97c5a723691ed2b56e.zip
Maintenance cleanup.
Diffstat (limited to 'include/stc/csset.h')
-rw-r--r--include/stc/csset.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/stc/csset.h b/include/stc/csset.h
index 2056009b..747307e4 100644
--- a/include/stc/csset.h
+++ b/include/stc/csset.h
@@ -59,10 +59,11 @@ int main(void) {
using_csset_8(X, Key, keyCompare, keyDel, keyClone, c_default_toraw, Key, c_true)
#define using_csset_8(X, Key, keyCompareRaw, keyDel, keyFromRaw, keyToRaw, RawKey, defTypes) \
_c_using_aatree(csset_##X, csset_, Key, Key, keyCompareRaw, \
- @@, @@, @@, void, defTypes, keyDel, keyFromRaw, keyToRaw, RawKey)
+ @@, @@, @@, void, keyDel, keyFromRaw, keyToRaw, RawKey, defTypes)
#define using_csset_str() \
- _c_using_aatree_strkey(str, csset_, cstr, @@, @@, @@, void, c_true)
+ using_csset_8(str, cstr, c_rawstr_compare, cstr_del, \
+ cstr_from, cstr_str, const char*, c_true)
#define SET_ONLY_csset_(...) __VA_ARGS__
#define MAP_ONLY_csset_(...)