diff options
author | Bad Diode <bd@badd10de.dev> | 2021-10-26 09:56:18 +0200 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2021-10-26 09:56:18 +0200 |
commit | da84e7e731de39ff385ae675a023ddcb9c58d06a (patch) | |
tree | 901f69a55de73fbbca15300a6638dab230d5835c /src/bytecode/string_view.h | |
parent | 9f1f2ff307bb3da8bfc6809ae05be589e1e37ed9 (diff) | |
download | bdl-da84e7e731de39ff385ae675a023ddcb9c58d06a.tar.gz bdl-da84e7e731de39ff385ae675a023ddcb9c58d06a.zip |
Add support for lambda functions
Diffstat (limited to 'src/bytecode/string_view.h')
-rwxr-xr-x | src/bytecode/string_view.h | 2 |
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. |
19 | void sv_write(const StringView *sv); | 19 | void 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 |