mirror of https://github.com/flysand7/ciabatta.git
12 lines
473 B
C
12 lines
473 B
C
|
|
#pragma once
|
|
|
|
typedef struct mbstate_t mbstate_t;
|
|
typedef uint16_t char16_t;
|
|
typedef uint32_t char32_t;
|
|
|
|
size_t mbrtoc16(char16_t * restrict pc16, const char * restrict s, size_t n, mbstate_t * restrict ps);
|
|
size_t c16rtomb(char * restrict s, char16_t c16, mbstate_t * restrict ps);
|
|
size_t mbrtoc32(char32_t * restrict pc32, const char * restrict s, size_t n, mbstate_t * restrict ps);
|
|
size_t c32rtomb(char * restrict s, char32_t c32, mbstate_t * restrict ps);
|