aboutsummaryrefslogtreecommitdiffstats
path: root/src/string_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/string_view.h')
-rw-r--r--src/string_view.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/string_view.h b/src/string_view.h
index 4dbbaaf..cb0f488 100644
--- a/src/string_view.h
+++ b/src/string_view.h
@@ -11,6 +11,9 @@ typedef struct StringView {
11// Consume a character in the stream. 11// Consume a character in the stream.
12char sv_next(StringView *sv); 12char sv_next(StringView *sv);
13 13
14// Rewind a character in the stream.
15void sv_rewind(StringView *sv);
16
14// Check what is the current character in the stream. 17// Check what is the current character in the stream.
15char sv_peek(const StringView *sv); 18char sv_peek(const StringView *sv);
16 19