summaryrefslogtreecommitdiffhomepage
path: root/include/stc/cstr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stc/cstr.h')
-rw-r--r--include/stc/cstr.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/stc/cstr.h b/include/stc/cstr.h
index 7c788ce4..ce8b9e26 100644
--- a/include/stc/cstr.h
+++ b/include/stc/cstr.h
@@ -180,12 +180,6 @@ extern void cstr_uppercase(cstr* self);
STC_INLINE bool cstr_valid_u8(const cstr* self)
{ return utf8_valid(cstr_str(self)); }
-STC_INLINE utf8_decode_t cstr_peek(const cstr* self, size_t bytepos) {
- utf8_decode_t d = {UTF8_OK};
- utf8_peek(&d, cstr_str(self) + bytepos);
- return d;
-}
-
// other utf8
STC_INLINE size_t cstr_size_u8(cstr s)