ReactOS 0.4.15-dev-7918-g2a2556c
yvals.h
Go to the documentation of this file.
1
6#ifndef _YVALS
7#define _YVALS
8
9#include <_mingw.h>
10/* TODO, don't include crtdef.h. */
11#include <crtdefs.h>
12
13#pragma pack(push,_CRT_PACKING)
14
15#define _CPPLIB_VER 405
16#define __PURE_APPDOMAIN_GLOBAL
17
18#ifndef __CRTDECL
19#define __CRTDECL __cdecl
20#endif
21
22#define _WIN32_C_LIB 1
23
24#define _MULTI_THREAD 1
25#define _IOSTREAM_OP_LOCKS 1
26#define _GLOBAL_LOCALE 0
27
28#define _COMPILER_TLS 1
29#define _TLS_QUAL __declspec(thread)
30
31#ifndef _HAS_EXCEPTIONS
32#define _HAS_EXCEPTIONS 1
33#endif
34
35#ifndef _HAS_NAMESPACE
36#define _HAS_NAMESPACE 1
37#endif
38
39#ifndef _HAS_IMMUTABLE_SETS
40#define _HAS_IMMUTABLE_SETS 0
41#endif
42
43#ifndef _HAS_STRICT_CONFORMANCE
44#define _HAS_STRICT_CONFORMANCE 0
45#endif
46
47#define _GLOBAL_USING 1
48#define _HAS_ITERATOR_DEBUGGING 0
49
50#define __STR2WSTR(str) L##str
51#define _STR2WSTR(str) __STR2WSTR(str)
52
53#define __FILEW__ _STR2WSTR(__FILE__)
54#define __FUNCTIONW__ _STR2WSTR(__FUNCTION__)
55
56#define _SCL_SECURE_INVALID_PARAMETER(expr) ::_invalid_parameter_noinfo()
57
58#define _SCL_SECURE_INVALID_ARGUMENT_NO_ASSERT _SCL_SECURE_INVALID_PARAMETER("invalid argument")
59#define _SCL_SECURE_OUT_OF_RANGE_NO_ASSERT _SCL_SECURE_INVALID_PARAMETER("out of range")
60#define _SCL_SECURE_ALWAYS_VALIDATE(cond) { if (!(cond)) { _ASSERTE((#cond,0)); _SCL_SECURE_INVALID_ARGUMENT_NO_ASSERT; } }
61
62#define _SCL_SECURE_ALWAYS_VALIDATE_RANGE(cond) { if (!(cond)) { _ASSERTE((#cond,0)); _SCL_SECURE_OUT_OF_RANGE_NO_ASSERT; } }
63
64#define _SCL_SECURE_CRT_VALIDATE(cond,retvalue) { if (!(cond)) { _ASSERTE((#cond,0)); _SCL_SECURE_INVALID_PARAMETER(cond); return (retvalue); } }
65
66#define _SCL_SECURE_VALIDATE(cond)
67#define _SCL_SECURE_VALIDATE_RANGE(cond)
68
69#define _SCL_SECURE_INVALID_ARGUMENT
70#define _SCL_SECURE_OUT_OF_RANGE
71
72#define _SCL_SECURE_MOVE(func,dst,size,src,count) func((dst),(src),(count))
73#define _SCL_SECURE_COPY(func,dst,size,src,count) func((dst),(src),(count))
74
75#define _SECURE_VALIDATION _Secure_validation
76
77#define _SECURE_VALIDATION_DEFAULT false
78
79#define _SCL_SECURE_TRAITS_VALIDATE(cond)
80#define _SCL_SECURE_TRAITS_VALIDATE_RANGE(cond)
81
82#define _SCL_SECURE_TRAITS_INVALID_ARGUMENT
83#define _SCL_SECURE_TRAITS_OUT_OF_RANGE
84
85#define _CRT_SECURE_MEMCPY(dest,destsize,source,count) ::memcpy((dest),(source),(count))
86#define _CRT_SECURE_MEMMOVE(dest,destsize,source,count) ::memmove((dest),(source),(count))
87#define _CRT_SECURE_WMEMCPY(dest,destsize,source,count) ::wmemcpy((dest),(source),(count))
88#define _CRT_SECURE_WMEMMOVE(dest,destsize,source,count) ::wmemmove((dest),(source),(count))
89
90#ifndef _VC6SP2
91#define _VC6SP2 0
92#endif
93
94#ifndef _CRTIMP2_NCEEPURE
95#define _CRTIMP2_NCEEPURE _CRTIMP
96#endif
97
98#ifndef _MRTIMP2_NPURE
99#define _MRTIMP2_NPURE
100#endif
101
102#ifndef _MRTIMP2_NCEE
103#define _MRTIMP2_NCEE _CRTIMP
104#endif
105
106#ifndef _MRTIMP2_NCEEPURE
107#define _MRTIMP2_NCEEPURE _CRTIMP
108#endif
109
110#ifndef _MRTIMP2_NPURE_NCEEPURE
111#define _MRTIMP2_NPURE_NCEEPURE
112#endif
113
114#define _DLL_CPPLIB
115
116#ifndef _CRTIMP2_PURE
117#define _CRTIMP2_PURE _CRTIMP
118#endif
119
120#ifndef _CRTDATA2
121#define _CRTDATA2 _CRTIMP
122#endif
123
124#define _DEPRECATED
125
126#ifdef __cplusplus
127#define _STD_BEGIN namespace std {
128#define _STD_END }
129#define _STD ::std::
130
131#define _STDEXT_BEGIN namespace stdext {
132#define _STDEXT_END }
133#define _STDEXT ::stdext::
134
135#ifdef _STD_USING
136#define _C_STD_BEGIN namespace std {
137#define _C_STD_END }
138#define _CSTD ::std::
139#else
140
141#define _C_STD_BEGIN
142#define _C_STD_END
143#define _CSTD ::
144#endif
145
146#define _C_LIB_DECL extern "C" {
147#define _END_C_LIB_DECL }
148#define _EXTERN_C extern "C" {
149#define _END_EXTERN_C }
150#else
151#define _STD_BEGIN
152#define _STD_END
153#define _STD
154
155#define _C_STD_BEGIN
156#define _C_STD_END
157#define _CSTD
158
159#define _C_LIB_DECL
160#define _END_C_LIB_DECL
161#define _EXTERN_C
162#define _END_EXTERN_C
163#endif
164
165#define _Restrict restrict
166
167#ifdef __cplusplus
169typedef bool _Bool;
171#endif
172
173#define _LONGLONG /* __MINGW_EXTENSION */ __int64
174#define _ULONGLONG /* __MINGW_EXTENSION */ unsigned __int64
175#define _LLONG_MAX 0x7fffffffffffffffLL
176#define _ULLONG_MAX 0xffffffffffffffffULL
177
178#define _C2 1
179
180#define _MAX_EXP_DIG 8
181#define _MAX_INT_DIG 32
182#define _MAX_SIG_DIG 36
183
186
187#define _Filet _iobuf
188
189#ifndef _FPOS_T_DEFINED
190#define _FPOSOFF(fp) ((long)(fp))
191#endif
192
193#define _IOBASE _base
194#define _IOPTR _ptr
195#define _IOCNT _cnt
196
197#define _LOCK_LOCALE 0
198#define _LOCK_MALLOC 1
199#define _LOCK_STREAM 2
200#define _LOCK_DEBUG 3
201#define _MAX_LOCK 4
202
203#ifdef __cplusplus
205
206class _CRTIMP _Lockit {
207public:
208 explicit __thiscall _Lockit();
209 explicit __thiscall _Lockit(int);
210 __thiscall ~_Lockit();
211 static void __cdecl _Lockit_ctor(int);
212 static void __cdecl _Lockit_dtor(int);
213private:
214 static void __cdecl _Lockit_ctor(_Lockit *);
215 static void __cdecl _Lockit_ctor(_Lockit *,int);
216 static void __cdecl _Lockit_dtor(_Lockit *);
217 _Lockit(const _Lockit&);
218 _Lockit& operator=(const _Lockit&);
219 int _Locktype;
220};
221
222#define _BEGIN_LOCK(_Kind) { _STD _Lockit _Lock(_Kind);
223#define _END_LOCK() }
224#define _BEGIN_LOCINFO(_VarName) { _Locinfo _VarName;
225#define _END_LOCINFO() }
226#define _RELIABILITY_CONTRACT
227
228class _CRTIMP _Mutex {
229public:
230 __thiscall _Mutex();
231 __thiscall ~_Mutex();
232 void __thiscall _Lock();
233 void __thiscall _Unlock();
234private:
235 static void __cdecl _Mutex_ctor(_Mutex *);
236 static void __cdecl _Mutex_dtor(_Mutex *);
237 static void __cdecl _Mutex_Lock(_Mutex *);
238 static void __cdecl _Mutex_Unlock(_Mutex *);
239 _Mutex(const _Mutex&);
240 _Mutex& operator=(const _Mutex&);
241 void *_Mtx;
242};
243
244class _CRTIMP _Init_locks {
245public:
246 __thiscall _Init_locks();
247 __thiscall ~_Init_locks();
248private:
249 static void __cdecl _Init_locks_ctor(_Init_locks *);
250 static void __cdecl _Init_locks_dtor(_Init_locks *);
251};
252
254#endif
255
256#ifndef _RELIABILITY_CONTRACT
257#define _RELIABILITY_CONTRACT
258#endif
259
261_CRTIMP void __cdecl _Atexit(void (__cdecl *)(void));
262
263typedef int _Mbstatet;
264
265#define _ATEXIT_T void
266#define _Mbstinit(x) mbstate_t x = {0}
268
269#define _EXTERN_TEMPLATE template
270#define _THROW_BAD_ALLOC _THROW1(...)
271
272#pragma pack(pop)
273#endif
#define __MINGW_EXTENSION
Definition: _mingw.h:166
#define __cdecl
Definition: accygwin.h:79
#define _CRTIMP
Definition: crtdefs.h:72
#define __thiscall
Definition: cpp.c:43
int _Mbstatet
Definition: yvals.h:263
#define _STD_END
Definition: yvals.h:152
#define _ULONGLONG
Definition: yvals.h:174
#define _C_STD_BEGIN
Definition: yvals.h:155
#define _LONGLONG
Definition: yvals.h:173
#define _STD_BEGIN
Definition: yvals.h:151
__MINGW_EXTENSION typedef _LONGLONG _Longlong
Definition: yvals.h:184
_C_STD_BEGIN _CRTIMP void __cdecl _Atexit(void(__cdecl *)(void))
__MINGW_EXTENSION typedef _ULONGLONG _ULonglong
Definition: yvals.h:185
#define _C_STD_END
Definition: yvals.h:156