summaryrefslogtreecommitdiff
path: root/source/base/base_string.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/base/base_string.h')
-rw-r--r--source/base/base_string.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/source/base/base_string.h b/source/base/base_string.h
new file mode 100644
index 0000000..d879450
--- /dev/null
+++ b/source/base/base_string.h
@@ -0,0 +1,17 @@
1#ifndef BASE_STRING_H
2#define BASE_STRING_H
3
4// let's use this for strings
5// to better differentiate between stuff
6typedef u8 s8;
7typedef struct string string ;
8
9struct string
10{
11 s8 *data;
12 umm size;
13};
14
15// TODO(nasr): helper functions for string
16
17#endif /* BASE_STRING_H */