Debian Codegraph @

libcxx/include/__cxx03/cstdint

raw
1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
3 //
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef _LIBCPP___CXX03_CSTDINT
11 #define _LIBCPP___CXX03_CSTDINT
12
13 /*
14 cstdint synopsis
15
16 Macros:
17
18 INT8_MIN
19 INT16_MIN
20 INT32_MIN
21 INT64_MIN
22
23 INT8_MAX
24 INT16_MAX
25 INT32_MAX
26 INT64_MAX
27
28 UINT8_MAX
29 UINT16_MAX
30 UINT32_MAX
31 UINT64_MAX
32
33 INT_LEAST8_MIN
34 INT_LEAST16_MIN
35 INT_LEAST32_MIN
36 INT_LEAST64_MIN
37
38 INT_LEAST8_MAX
39 INT_LEAST16_MAX
40 INT_LEAST32_MAX
41 INT_LEAST64_MAX
42
43 UINT_LEAST8_MAX
44 UINT_LEAST16_MAX
45 UINT_LEAST32_MAX
46 UINT_LEAST64_MAX
47
48 INT_FAST8_MIN
49 INT_FAST16_MIN
50 INT_FAST32_MIN
51 INT_FAST64_MIN
52
53 INT_FAST8_MAX
54 INT_FAST16_MAX
55 INT_FAST32_MAX
56 INT_FAST64_MAX
57
58 UINT_FAST8_MAX
59 UINT_FAST16_MAX
60 UINT_FAST32_MAX
61 UINT_FAST64_MAX
62
63 INTPTR_MIN
64 INTPTR_MAX
65 UINTPTR_MAX
66
67 INTMAX_MIN
68 INTMAX_MAX
69
70 UINTMAX_MAX
71
72 PTRDIFF_MIN
73 PTRDIFF_MAX
74
75 SIG_ATOMIC_MIN
76 SIG_ATOMIC_MAX
77
78 SIZE_MAX
79
80 WCHAR_MIN
81 WCHAR_MAX
82
83 WINT_MIN
84 WINT_MAX
85
86 INT8_C(value)
87 INT16_C(value)
88 INT32_C(value)
89 INT64_C(value)
90
91 UINT8_C(value)
92 UINT16_C(value)
93 UINT32_C(value)
94 UINT64_C(value)
95
96 INTMAX_C(value)
97 UINTMAX_C(value)
98
99 namespace std
100 {
101
102 Types:
103
104 int8_t
105 int16_t
106 int32_t
107 int64_t
108
109 uint8_t
110 uint16_t
111 uint32_t
112 uint64_t
113
114 int_least8_t
115 int_least16_t
116 int_least32_t
117 int_least64_t
118
119 uint_least8_t
120 uint_least16_t
121 uint_least32_t
122 uint_least64_t
123
124 int_fast8_t
125 int_fast16_t
126 int_fast32_t
127 int_fast64_t
128
129 uint_fast8_t
130 uint_fast16_t
131 uint_fast32_t
132 uint_fast64_t
133
134 intptr_t
135 uintptr_t
136
137 intmax_t
138 uintmax_t
139
140 } // std
141 */
142
143 #include <__cxx03/__config>
144
145 #include <__cxx03/stdint.h>
146
147 #ifndef _LIBCPP___CXX03_STDINT_H
148 # error <cstdint> tried including <stdint.h> but didn't find libc++'s <stdint.h> header. \
149 This usually means that your header search paths are not configured properly. \
150 The header search paths should contain the C++ Standard Library headers before \
151 any C Standard Library, and you are probably using compiler flags that make that \
152 not be the case.
153 #endif
154
155 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
156 # pragma GCC system_header
157 #endif
158
159 _LIBCPP_BEGIN_NAMESPACE_STD
160
161 using ::int8_t _LIBCPP_USING_IF_EXISTS;
162 using ::int16_t _LIBCPP_USING_IF_EXISTS;
163 using ::int32_t _LIBCPP_USING_IF_EXISTS;
164 using ::int64_t _LIBCPP_USING_IF_EXISTS;
165
166 using ::uint8_t _LIBCPP_USING_IF_EXISTS;
167 using ::uint16_t _LIBCPP_USING_IF_EXISTS;
168 using ::uint32_t _LIBCPP_USING_IF_EXISTS;
169 using ::uint64_t _LIBCPP_USING_IF_EXISTS;
170
171 using ::int_least8_t _LIBCPP_USING_IF_EXISTS;
172 using ::int_least16_t _LIBCPP_USING_IF_EXISTS;
173 using ::int_least32_t _LIBCPP_USING_IF_EXISTS;
174 using ::int_least64_t _LIBCPP_USING_IF_EXISTS;
175
176 using ::uint_least8_t _LIBCPP_USING_IF_EXISTS;
177 using ::uint_least16_t _LIBCPP_USING_IF_EXISTS;
178 using ::uint_least32_t _LIBCPP_USING_IF_EXISTS;
179 using ::uint_least64_t _LIBCPP_USING_IF_EXISTS;
180
181 using ::int_fast8_t _LIBCPP_USING_IF_EXISTS;
182 using ::int_fast16_t _LIBCPP_USING_IF_EXISTS;
183 using ::int_fast32_t _LIBCPP_USING_IF_EXISTS;
184 using ::int_fast64_t _LIBCPP_USING_IF_EXISTS;
185
186 using ::uint_fast8_t _LIBCPP_USING_IF_EXISTS;
187 using ::uint_fast16_t _LIBCPP_USING_IF_EXISTS;
188 using ::uint_fast32_t _LIBCPP_USING_IF_EXISTS;
189 using ::uint_fast64_t _LIBCPP_USING_IF_EXISTS;
190
191 using ::intptr_t _LIBCPP_USING_IF_EXISTS;
192 using ::uintptr_t _LIBCPP_USING_IF_EXISTS;
193
194 using ::intmax_t _LIBCPP_USING_IF_EXISTS;
195 using ::uintmax_t _LIBCPP_USING_IF_EXISTS;
196
197 _LIBCPP_END_NAMESPACE_STD
198
199 #endif // _LIBCPP___CXX03_CSTDINT