summaryrefslogtreecommitdiffhomepage
path: root/include/stc/csview.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stc/csview.h')
-rw-r--r--include/stc/csview.h4
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)}; }