OLD | NEW |
1 #ifndef _UCHAR_H | 1 #ifndef _UCHAR_H |
2 #define _UCHAR_H | 2 #define _UCHAR_H |
3 | 3 |
4 #ifdef __cplusplus | 4 #ifdef __cplusplus |
5 extern "C" { | 5 extern "C" { |
6 #else | 6 #else |
7 typedef unsigned short char16_t; | 7 typedef unsigned short char16_t; |
8 typedef unsigned char32_t; | 8 typedef unsigned char32_t; |
9 #endif | 9 #endif |
10 | 10 |
11 #define __NEED_mbstate_t | 11 #define __NEED_mbstate_t |
12 #define __NEED_size_t | 12 #define __NEED_size_t |
13 | 13 |
14 #include <features.h> | 14 #include <features.h> |
15 #include <bits/alltypes.h> | 15 #include <bits/alltypes.h> |
16 | 16 |
17 size_t c16rtomb(char *__restrict, char16_t, mbstate_t *__restrict); | 17 size_t c16rtomb(char* __restrict, char16_t, mbstate_t* __restrict); |
18 size_t mbrtoc16(char16_t *__restrict, const char *__restrict, size_t, mbstate_t
*__restrict); | 18 size_t mbrtoc16(char16_t* __restrict, |
| 19 const char* __restrict, |
| 20 size_t, |
| 21 mbstate_t* __restrict); |
19 | 22 |
20 size_t c32rtomb(char *__restrict, char32_t, mbstate_t *__restrict); | 23 size_t c32rtomb(char* __restrict, char32_t, mbstate_t* __restrict); |
21 size_t mbrtoc32(char32_t *__restrict, const char *__restrict, size_t, mbstate_t
*__restrict); | 24 size_t mbrtoc32(char32_t* __restrict, |
| 25 const char* __restrict, |
| 26 size_t, |
| 27 mbstate_t* __restrict); |
22 | 28 |
23 #ifdef __cplusplus | 29 #ifdef __cplusplus |
24 } | 30 } |
25 #endif | 31 #endif |
26 | 32 |
27 #endif | 33 #endif |
OLD | NEW |