Warning: This file is not a C or C++ file. It does not have highlighting.
| 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_UCHAR_H |
| 11 | #define _LIBCPP___CXX03_UCHAR_H |
| 12 | |
| 13 | /* |
| 14 | uchar.h synopsis // since C++11 |
| 15 | |
| 16 | Macros: |
| 17 | |
| 18 | __STDC_UTF_16__ |
| 19 | __STDC_UTF_32__ |
| 20 | |
| 21 | Types: |
| 22 | |
| 23 | mbstate_t |
| 24 | size_t |
| 25 | |
| 26 | size_t mbrtoc8(char8_t* pc8, const char* s, size_t n, mbstate_t* ps); // since C++20 |
| 27 | size_t c8rtomb(char* s, char8_t c8, mbstate_t* ps); // since C++20 |
| 28 | size_t mbrtoc16(char16_t* pc16, const char* s, size_t n, mbstate_t* ps); |
| 29 | size_t c16rtomb(char* s, char16_t c16, mbstate_t* ps); |
| 30 | size_t mbrtoc32(char32_t* pc32, const char* s, size_t n, mbstate_t* ps); |
| 31 | size_t c32rtomb(char* s, char32_t c32, mbstate_t* ps); |
| 32 | |
| 33 | */ |
| 34 | |
| 35 | #include <__cxx03/__config> |
| 36 | |
| 37 | #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) |
| 38 | # pragma GCC system_header |
| 39 | #endif |
| 40 | |
| 41 | #endif // _LIBCPP___CXX03_UCHAR_H |
| 42 |
Warning: This file is not a C or C++ file. It does not have highlighting.
