summaryrefslogtreecommitdiffhomepage
path: root/include/stc
diff options
context:
space:
mode:
authorTyge Lovset <[email protected]>2022-06-02 06:20:31 +0200
committerTyge Lovset <[email protected]>2022-06-02 06:20:31 +0200
commit7ad5a8533daf107cdc0aa6f90af1fd4769557ea1 (patch)
treeeabd67555bbb1185937b4a5d9e57bd4b1477638b /include/stc
parentccfef3a4f82ce48facde6499c53e62ab1065cd8b (diff)
downloadSTC-modified-7ad5a8533daf107cdc0aa6f90af1fd4769557ea1.tar.gz
STC-modified-7ad5a8533daf107cdc0aa6f90af1fd4769557ea1.zip
updated cstr and csview docs
Diffstat (limited to 'include/stc')
-rw-r--r--include/stc/csview.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/stc/csview.h b/include/stc/csview.h
index e55e547b..6cfd6e82 100644
--- a/include/stc/csview.h
+++ b/include/stc/csview.h
@@ -45,8 +45,6 @@ STC_INLINE void csview_clear(csview* self) { *self = csview_null; }
STC_INLINE size_t csview_size(csview sv) { return sv.size; }
STC_INLINE size_t csview_length(csview sv) { return sv.size; }
STC_INLINE bool csview_empty(csview sv) { return sv.size == 0; }
-STC_INLINE char csview_front(csview sv) { return sv.str[0]; }
-STC_INLINE char csview_back(csview sv) { return sv.str[sv.size - 1]; }
STC_INLINE bool csview_equals(csview sv, csview sv2)
{ return sv.size == sv2.size && !memcmp(sv.str, sv2.str, sv.size); }