aboutsummaryrefslogtreecommitdiff
path: root/include/_uNview.h
blob: 1001807053e1ad23e3ae593716c42d69ffdb51c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef MLIB__UNVIEW_H
#define MLIB__UNVIEW_H

#include <stddef.h>

#include "_charN_t.h"

typedef struct {
	const char8_t *p;
	size_t len;
} u8view_t;

typedef struct {
	const char16_t *p;
	size_t len;
} u16view_t;

typedef struct {
	const char32_t *p;
	size_t len;
} u32view_t;

#endif /* !MLIB__UNVIEW_H */