From 141c31a725ef0509998b208f4dda897347cbe4f2 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Fri, 21 May 2021 10:12:32 +0200 Subject: Updated string split / tokenizer example in csview docs. --- include/stc/csview.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'include') 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__) -- cgit v1.2.3