aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode/string_view.h
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2021-10-26 09:56:18 +0200
committerBad Diode <bd@badd10de.dev>2021-10-26 09:56:18 +0200
commitda84e7e731de39ff385ae675a023ddcb9c58d06a (patch)
tree901f69a55de73fbbca15300a6638dab230d5835c /src/bytecode/string_view.h
parent9f1f2ff307bb3da8bfc6809ae05be589e1e37ed9 (diff)
downloadbdl-da84e7e731de39ff385ae675a023ddcb9c58d06a.tar.gz
bdl-da84e7e731de39ff385ae675a023ddcb9c58d06a.zip
Add support for lambda functions
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