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/csview.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/csview.h')
| -rw-r--r-- | include/stc/csview.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stc/csview.h b/include/stc/csview.h index f2ac1c42..54a4c4cc 100644 --- a/include/stc/csview.h +++ b/include/stc/csview.h @@ -32,8 +32,8 @@ #define csview_npos (SIZE_MAX >> 1) #define csview_init() csview_null -#define csview_drop(p) (p) -#define csview_clone(sv) (sv) +#define csview_drop c_default_drop +#define csview_clone c_default_clone STC_INLINE csview csview_from(const char* str) { return c_make(csview){str, strlen(str)}; } |
