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