aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode/string_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bytecode/string_view.h')
-rwxr-xr-xsrc/bytecode/string_view.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bytecode/string_view.h b/src/bytecode/string_view.h
index 64c8d8e..79d8305 100755
--- a/src/bytecode/string_view.h
+++ b/src/bytecode/string_view.h
@@ -18,4 +18,6 @@ bool sv_equal(const StringView *a, const StringView *b);
18// Write a character to the given output stream. 18// Write a character to the given output stream.
19void sv_write(const StringView *sv); 19void sv_write(const StringView *sv);
20 20
21#define STRING(STR) (StringView){(STR), sizeof(STR)}
22
21#endif // BDL_STRINGVIEW_H 23#endif // BDL_STRINGVIEW_H