2020-10-29 10:48:50 +03:00
|
|
|
// cstdint standard header (core)
|
2019-09-05 01:57:56 +03:00
|
|
|
|
|
|
|
// Copyright (c) Microsoft Corporation.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
|
|
|
|
#ifndef _CSTDINT_
|
|
|
|
#define _CSTDINT_
|
2020-10-29 10:48:50 +03:00
|
|
|
#include <yvals_core.h>
|
2019-09-05 01:57:56 +03:00
|
|
|
#if _STL_COMPILER_PREPROCESSOR
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma pack(push, _CRT_PACKING)
|
|
|
|
#pragma warning(push, _STL_WARNING_LEVEL)
|
|
|
|
#pragma warning(disable : _STL_DISABLED_WARNINGS)
|
|
|
|
_STL_DISABLE_CLANG_WARNINGS
|
|
|
|
#pragma push_macro("new")
|
|
|
|
#undef new
|
|
|
|
|
|
|
|
_STD_BEGIN
|
2022-09-20 00:47:02 +03:00
|
|
|
_EXPORT_STD using _CSTD int8_t;
|
|
|
|
_EXPORT_STD using _CSTD int16_t;
|
|
|
|
_EXPORT_STD using _CSTD int32_t;
|
|
|
|
_EXPORT_STD using _CSTD int64_t;
|
|
|
|
_EXPORT_STD using _CSTD uint8_t;
|
|
|
|
_EXPORT_STD using _CSTD uint16_t;
|
|
|
|
_EXPORT_STD using _CSTD uint32_t;
|
|
|
|
_EXPORT_STD using _CSTD uint64_t;
|
|
|
|
|
|
|
|
_EXPORT_STD using _CSTD int_least8_t;
|
|
|
|
_EXPORT_STD using _CSTD int_least16_t;
|
|
|
|
_EXPORT_STD using _CSTD int_least32_t;
|
|
|
|
_EXPORT_STD using _CSTD int_least64_t;
|
|
|
|
_EXPORT_STD using _CSTD uint_least8_t;
|
|
|
|
_EXPORT_STD using _CSTD uint_least16_t;
|
|
|
|
_EXPORT_STD using _CSTD uint_least32_t;
|
|
|
|
_EXPORT_STD using _CSTD uint_least64_t;
|
|
|
|
|
|
|
|
_EXPORT_STD using _CSTD int_fast8_t;
|
|
|
|
_EXPORT_STD using _CSTD int_fast16_t;
|
|
|
|
_EXPORT_STD using _CSTD int_fast32_t;
|
|
|
|
_EXPORT_STD using _CSTD int_fast64_t;
|
|
|
|
_EXPORT_STD using _CSTD uint_fast8_t;
|
|
|
|
_EXPORT_STD using _CSTD uint_fast16_t;
|
|
|
|
_EXPORT_STD using _CSTD uint_fast32_t;
|
|
|
|
_EXPORT_STD using _CSTD uint_fast64_t;
|
|
|
|
|
|
|
|
_EXPORT_STD using _CSTD intmax_t;
|
|
|
|
_EXPORT_STD using _CSTD intptr_t;
|
|
|
|
_EXPORT_STD using _CSTD uintmax_t;
|
|
|
|
_EXPORT_STD using _CSTD uintptr_t;
|
2019-09-05 01:57:56 +03:00
|
|
|
|
|
|
|
#if _HAS_TR1_NAMESPACE
|
|
|
|
namespace _DEPRECATE_TR1_NAMESPACE tr1 {
|
|
|
|
using _CSTD int8_t;
|
|
|
|
using _CSTD int16_t;
|
|
|
|
using _CSTD int32_t;
|
|
|
|
using _CSTD int64_t;
|
|
|
|
using _CSTD uint8_t;
|
|
|
|
using _CSTD uint16_t;
|
|
|
|
using _CSTD uint32_t;
|
|
|
|
using _CSTD uint64_t;
|
|
|
|
|
|
|
|
using _CSTD int_least8_t;
|
|
|
|
using _CSTD int_least16_t;
|
|
|
|
using _CSTD int_least32_t;
|
|
|
|
using _CSTD int_least64_t;
|
|
|
|
using _CSTD uint_least8_t;
|
|
|
|
using _CSTD uint_least16_t;
|
|
|
|
using _CSTD uint_least32_t;
|
|
|
|
using _CSTD uint_least64_t;
|
|
|
|
|
|
|
|
using _CSTD int_fast8_t;
|
|
|
|
using _CSTD int_fast16_t;
|
|
|
|
using _CSTD int_fast32_t;
|
|
|
|
using _CSTD int_fast64_t;
|
|
|
|
using _CSTD uint_fast8_t;
|
|
|
|
using _CSTD uint_fast16_t;
|
|
|
|
using _CSTD uint_fast32_t;
|
|
|
|
using _CSTD uint_fast64_t;
|
|
|
|
|
|
|
|
using _CSTD intmax_t;
|
|
|
|
using _CSTD intptr_t;
|
|
|
|
using _CSTD uintmax_t;
|
|
|
|
using _CSTD uintptr_t;
|
2022-10-14 23:00:48 +03:00
|
|
|
} // namespace _DEPRECATE_TR1_NAMESPACE tr1
|
2019-09-05 01:57:56 +03:00
|
|
|
#endif // _HAS_TR1_NAMESPACE
|
|
|
|
_STD_END
|
|
|
|
|
|
|
|
#pragma pop_macro("new")
|
|
|
|
_STL_RESTORE_CLANG_WARNINGS
|
|
|
|
#pragma warning(pop)
|
|
|
|
#pragma pack(pop)
|
|
|
|
|
|
|
|
#endif // _STL_COMPILER_PREPROCESSOR
|
|
|
|
#endif // _CSTDINT_
|