aboutsummaryrefslogtreecommitdiff
path: root/include/_u8view.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/_u8view.h')
-rw-r--r--include/_u8view.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/_u8view.h b/include/_u8view.h
new file mode 100644
index 0000000..5d6a9b8
--- /dev/null
+++ b/include/_u8view.h
@@ -0,0 +1,13 @@
+#ifndef MLIB__U8VIEW_H
+#define MLIB__U8VIEW_H
+
+#include <stddef.h>
+
+#include "_charN_t.h"
+
+struct u8view {
+ const char8_t *p;
+ size_t len;
+};
+
+#endif /* !MLIB__U8VIEW_H */