initial commit
[glibc.git] / wcsmbs / bits / types / __mbstate_t.h
1 #ifndef ____mbstate_t_defined
2 #define ____mbstate_t_defined 1
3
4 /* Integral type unchanged by default argument promotions that can
5 hold any value corresponding to members of the extended character
6 set, as well as at least one value that does not correspond to any
7 member of the extended character set. */
8 #ifndef __WINT_TYPE__
9 # define __WINT_TYPE__ unsigned int
10 #endif
11
12 /* Conversion state information. */
13 typedef struct
14 {
15 int __count;
16 union
17 {
18 __WINT_TYPE__ __wch;
19 char __wchb[4];
20 } __value; /* Value so far. */
21 } __mbstate_t;
22
23 #endif