summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-04-16 09:26:11 -0300
committerEuAndreh <eu@euandre.org>2024-04-16 09:26:11 -0300
commit5e7e9cca7bbaaa490e61f297be3e24b0607b6c48 (patch)
treef98b937902d23004c3525dd3c0a1b6426636a369 /src
parentdeps.mk: Add correct dependency for i18n.c (diff)
downloadpindaiba-5e7e9cca7bbaaa490e61f297be3e24b0607b6c48.tar.gz
pindaiba-5e7e9cca7bbaaa490e61f297be3e24b0607b6c48.tar.xz
src/string.c: Add new empty file structure
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;