summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/string.c11
-rw-r--r--src/string.h1
2 files changed, 12 insertions, 0 deletions
diff --git a/src/string.c b/src/string.c
new file mode 100644
index 0000000..6e1ba40
--- /dev/null
+++ b/src/string.c
@@ -0,0 +1,11 @@
+#include "config.h"
+
+#include <stddef.h>
+
+#include "string.h"
+
+
+struct String {
+ char *bytes;
+ size_t length;
+};
diff --git a/src/string.h b/src/string.h
new file mode 100644
index 0000000..2a60e26
--- /dev/null
+++ b/src/string.h
@@ -0,0 +1 @@
+struct String;