brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.7 KiB · a11abaa Raw
60 lines · plain
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-exception7//8//===----------------------------------------------------------------------===//9 10#ifndef _LIBCPP___CXX03_CUCHAR11#define _LIBCPP___CXX03_CUCHAR12 13/*14    cuchar synopsis // since C++1115 16Macros:17 18    __STDC_UTF_16__19    __STDC_UTF_32__20 21namespace std {22 23Types:24 25  mbstate_t26  size_t27 28size_t mbrtoc8(char8_t* pc8, const char* s, size_t n, mbstate_t* ps);   // since C++2029size_t c8rtomb(char* s, char8_t c8, mbstate_t* ps);                     // since C++2030size_t mbrtoc16(char16_t* pc16, const char* s, size_t n, mbstate_t* ps);31size_t c16rtomb(char* s, char16_t c16, mbstate_t* ps);32size_t mbrtoc32(char32_t* pc32, const char* s, size_t n, mbstate_t* ps);33size_t c32rtomb(char* s, char32_t c32, mbstate_t* ps);34 35} // std36 37*/38 39#include <__cxx03/__config>40 41#include <__cxx03/uchar.h>42 43#ifndef _LIBCPP___CXX03_UCHAR_H44#   error <cuchar> tried including <uchar.h> but didn't find libc++'s <uchar.h> header. \45          This usually means that your header search paths are not configured properly. \46          The header search paths should contain the C++ Standard Library headers before \47          any C Standard Library, and you are probably using compiler flags that make that \48          not be the case.49#endif50 51#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)52#  pragma GCC system_header53#endif54 55_LIBCPP_BEGIN_NAMESPACE_STD56 57_LIBCPP_END_NAMESPACE_STD58 59#endif // _LIBCPP___CXX03_CUCHAR60