Warning, /include/c++/v1/__cxx03/cstdint is written in an unsupported language. File is not indexed.
0001 // -*- C++ -*-
0002 //===----------------------------------------------------------------------===//
0003 //
0004 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0005 // See https://llvm.org/LICENSE.txt for license information.
0006 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0007 //
0008 //===----------------------------------------------------------------------===//
0009
0010 #ifndef _LIBCPP___CXX03_CSTDINT
0011 #define _LIBCPP___CXX03_CSTDINT
0012
0013 /*
0014 cstdint synopsis
0015
0016 Macros:
0017
0018 INT8_MIN
0019 INT16_MIN
0020 INT32_MIN
0021 INT64_MIN
0022
0023 INT8_MAX
0024 INT16_MAX
0025 INT32_MAX
0026 INT64_MAX
0027
0028 UINT8_MAX
0029 UINT16_MAX
0030 UINT32_MAX
0031 UINT64_MAX
0032
0033 INT_LEAST8_MIN
0034 INT_LEAST16_MIN
0035 INT_LEAST32_MIN
0036 INT_LEAST64_MIN
0037
0038 INT_LEAST8_MAX
0039 INT_LEAST16_MAX
0040 INT_LEAST32_MAX
0041 INT_LEAST64_MAX
0042
0043 UINT_LEAST8_MAX
0044 UINT_LEAST16_MAX
0045 UINT_LEAST32_MAX
0046 UINT_LEAST64_MAX
0047
0048 INT_FAST8_MIN
0049 INT_FAST16_MIN
0050 INT_FAST32_MIN
0051 INT_FAST64_MIN
0052
0053 INT_FAST8_MAX
0054 INT_FAST16_MAX
0055 INT_FAST32_MAX
0056 INT_FAST64_MAX
0057
0058 UINT_FAST8_MAX
0059 UINT_FAST16_MAX
0060 UINT_FAST32_MAX
0061 UINT_FAST64_MAX
0062
0063 INTPTR_MIN
0064 INTPTR_MAX
0065 UINTPTR_MAX
0066
0067 INTMAX_MIN
0068 INTMAX_MAX
0069
0070 UINTMAX_MAX
0071
0072 PTRDIFF_MIN
0073 PTRDIFF_MAX
0074
0075 SIG_ATOMIC_MIN
0076 SIG_ATOMIC_MAX
0077
0078 SIZE_MAX
0079
0080 WCHAR_MIN
0081 WCHAR_MAX
0082
0083 WINT_MIN
0084 WINT_MAX
0085
0086 INT8_C(value)
0087 INT16_C(value)
0088 INT32_C(value)
0089 INT64_C(value)
0090
0091 UINT8_C(value)
0092 UINT16_C(value)
0093 UINT32_C(value)
0094 UINT64_C(value)
0095
0096 INTMAX_C(value)
0097 UINTMAX_C(value)
0098
0099 namespace std
0100 {
0101
0102 Types:
0103
0104 int8_t
0105 int16_t
0106 int32_t
0107 int64_t
0108
0109 uint8_t
0110 uint16_t
0111 uint32_t
0112 uint64_t
0113
0114 int_least8_t
0115 int_least16_t
0116 int_least32_t
0117 int_least64_t
0118
0119 uint_least8_t
0120 uint_least16_t
0121 uint_least32_t
0122 uint_least64_t
0123
0124 int_fast8_t
0125 int_fast16_t
0126 int_fast32_t
0127 int_fast64_t
0128
0129 uint_fast8_t
0130 uint_fast16_t
0131 uint_fast32_t
0132 uint_fast64_t
0133
0134 intptr_t
0135 uintptr_t
0136
0137 intmax_t
0138 uintmax_t
0139
0140 } // std
0141 */
0142
0143 #include <__cxx03/__config>
0144
0145 #include <__cxx03/stdint.h>
0146
0147 #ifndef _LIBCPP___CXX03_STDINT_H
0148 # error <cstdint> tried including <stdint.h> but didn't find libc++'s <stdint.h> header. \
0149 This usually means that your header search paths are not configured properly. \
0150 The header search paths should contain the C++ Standard Library headers before \
0151 any C Standard Library, and you are probably using compiler flags that make that \
0152 not be the case.
0153 #endif
0154
0155 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
0156 # pragma GCC system_header
0157 #endif
0158
0159 _LIBCPP_BEGIN_NAMESPACE_STD
0160
0161 using ::int8_t _LIBCPP_USING_IF_EXISTS;
0162 using ::int16_t _LIBCPP_USING_IF_EXISTS;
0163 using ::int32_t _LIBCPP_USING_IF_EXISTS;
0164 using ::int64_t _LIBCPP_USING_IF_EXISTS;
0165
0166 using ::uint8_t _LIBCPP_USING_IF_EXISTS;
0167 using ::uint16_t _LIBCPP_USING_IF_EXISTS;
0168 using ::uint32_t _LIBCPP_USING_IF_EXISTS;
0169 using ::uint64_t _LIBCPP_USING_IF_EXISTS;
0170
0171 using ::int_least8_t _LIBCPP_USING_IF_EXISTS;
0172 using ::int_least16_t _LIBCPP_USING_IF_EXISTS;
0173 using ::int_least32_t _LIBCPP_USING_IF_EXISTS;
0174 using ::int_least64_t _LIBCPP_USING_IF_EXISTS;
0175
0176 using ::uint_least8_t _LIBCPP_USING_IF_EXISTS;
0177 using ::uint_least16_t _LIBCPP_USING_IF_EXISTS;
0178 using ::uint_least32_t _LIBCPP_USING_IF_EXISTS;
0179 using ::uint_least64_t _LIBCPP_USING_IF_EXISTS;
0180
0181 using ::int_fast8_t _LIBCPP_USING_IF_EXISTS;
0182 using ::int_fast16_t _LIBCPP_USING_IF_EXISTS;
0183 using ::int_fast32_t _LIBCPP_USING_IF_EXISTS;
0184 using ::int_fast64_t _LIBCPP_USING_IF_EXISTS;
0185
0186 using ::uint_fast8_t _LIBCPP_USING_IF_EXISTS;
0187 using ::uint_fast16_t _LIBCPP_USING_IF_EXISTS;
0188 using ::uint_fast32_t _LIBCPP_USING_IF_EXISTS;
0189 using ::uint_fast64_t _LIBCPP_USING_IF_EXISTS;
0190
0191 using ::intptr_t _LIBCPP_USING_IF_EXISTS;
0192 using ::uintptr_t _LIBCPP_USING_IF_EXISTS;
0193
0194 using ::intmax_t _LIBCPP_USING_IF_EXISTS;
0195 using ::uintmax_t _LIBCPP_USING_IF_EXISTS;
0196
0197 _LIBCPP_END_NAMESPACE_STD
0198
0199 #endif // _LIBCPP___CXX03_CSTDINT