summaryrefslogtreecommitdiff
path: root/source/base/base_string.h
diff options
context:
space:
mode:
authornasr <nsrddyn@gmail.com>2026-03-13 22:31:21 +0100
committernasr <nsrddyn@gmail.com>2026-03-13 22:31:21 +0100
commit444bfa2f41143aff7490e4fa21565947565b7d30 (patch)
tree696b06d40140c85805d171597e37deb8290ead73 /source/base/base_string.h
parent3913d1778318cd0c6bfb871148d38abb33ec7fd3 (diff)
cleanup: generalisation
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 */