diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-01-20 23:00:39 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-01-20 23:00:39 +0100 |
commit | 108018e3e7326dabbbef568ab08bc5cebf5d427b (patch) | |
tree | 7c9a522276aea7015638492592eba02615b78d43 /include/std/string_view.h | |
parent | 50c928d224bff0af322f23a7d2b842cd54aa2e68 (diff) |
Add arithmetic, implement hash map
Diffstat (limited to 'include/std/string_view.h')
-rw-r--r-- | include/std/string_view.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/std/string_view.h b/include/std/string_view.h new file mode 100644 index 0000000..4f9552a --- /dev/null +++ b/include/std/string_view.h @@ -0,0 +1,11 @@ +#ifndef TSL_STRING_VIEW_H +#define TSL_STRING_VIEW_H + +#include <stddef.h> + +typedef struct { + const char *data; + size_t size; +} TslStringView; + +#endif /* TSL_STRING_VIEW_H */ |