summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-05-21 10:12:32 +0200
committerTyge Løvset <[email protected]>2021-05-21 10:12:32 +0200
commit141c31a725ef0509998b208f4dda897347cbe4f2 (patch)
tree0b14e1b9b4e6ca8b7b0efc3c4b2ebfd87b3e035c /include
parentbbd74bed602b8459c4dfe785263725c9bfe84e45 (diff)
downloadSTC-modified-141c31a725ef0509998b208f4dda897347cbe4f2.tar.gz
STC-modified-141c31a725ef0509998b208f4dda897347cbe4f2.zip
Updated string split / tokenizer example in csview docs.
Diffstat (limited to 'include')
-rw-r--r--include/stc/csview.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/include/stc/csview.h b/include/stc/csview.h
index 7111471b..2e52ad73 100644
--- a/include/stc/csview.h
+++ b/include/stc/csview.h
@@ -128,15 +128,7 @@ STC_INLINE bool csview_equals_ref(const csview* a, const csview* b)
{ return a->size == b->size && !memcmp(a->str, b->str, a->size); }
#define csview_hash_ref(xp, none) c_default_hash((xp)->str, (xp)->size)
-/* ---- Containers ---- */
-
-#define using_cvec_sv() \
- using_cvec(sv, cstr, csview_compare_ref, cstr_del, cstr_from_v, cstr_to_v, csview)
-#define using_cdeq_sv() \
- using_cdeq(sv, cstr, csview_compare_ref, cstr_del, cstr_from_v, cstr_to_v, csview)
-#define using_clist_sv() \
- using_clist(sv, cstr, csview_compare_ref, cstr_del, cstr_from_v, cstr_to_v, csview)
-
+/* ---- Associative cstr-containers with csview emplace/lookup API ---- */
#define using_csmap_svkey(...) c_MACRO_OVERLOAD(using_csmap_svkey, __VA_ARGS__)