PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
propgcc
propeller-elf
include
sys
wchar_t.h
1
/*
2
* note, this header file may be included multiple times, with and without
3
* _NEED_WINT_T defined first
4
* if _NEED_WINT_T is defined, we define wint_t
5
*
6
* for gcc, the default for wchar_t is "int" and for wint_t is "unsigned int"
7
*/
8
9
#ifndef _WCHAR_T_DEFINED
10
#ifndef _WCHAR_T_TYPE
11
#define _WCHAR_T_TYPE int
12
#endif
13
#define _WCHAR_T_DEFINED _WCHAR_T_TYPE
14
typedef
_WCHAR_T_DEFINED wchar_t;
15
#endif
16
17
#if defined(_NEED_WINT_T) && !defined(_WINT_T_DEFINED)
18
#define _WINT_T_DEFINED unsigned int
19
typedef
_WINT_T_DEFINED wint_t;
20
#endif
21
22
#if !defined(_MBSTATE_T_DEFINED)
23
typedef
struct
_Mbstate
{
24
unsigned
int
total:5;
/* total bytes in character */
25
unsigned
int
left:5;
/* number of bytes remaining in the character */
26
unsigned
int
partial:22;
/* partial wide character constructed/output */
27
}
_Mbstate_t
;
28
#define _MBSTATE_T_DEFINED _Mbstate_t
29
#endif
_Mbstate
Definition:
wchar_t.h:23
Generated on Fri May 20 2022 16:48:04 for PropWare by
1.8.17