]>
Commit | Line | Data |
---|---|---|
8081da07 BK |
1 | // -*- C++ -*- compatibility header. |
2 | ||
8d9254fc | 3 | // Copyright (C) 2002-2020 Free Software Foundation, Inc. |
8081da07 BK |
4 | // |
5 | // This file is part of the GNU ISO C++ Library. This library is free | |
6 | // software; you can redistribute it and/or modify it under the | |
7 | // terms of the GNU General Public License as published by the | |
748086b7 | 8 | // Free Software Foundation; either version 3, or (at your option) |
8081da07 BK |
9 | // any later version. |
10 | ||
11 | // This library is distributed in the hope that it will be useful, | |
12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | // GNU General Public License for more details. | |
15 | ||
748086b7 JJ |
16 | // Under Section 7 of GPL version 3, you are granted additional |
17 | // permissions described in the GCC Runtime Library Exception, version | |
18 | // 3.1, as published by the Free Software Foundation. | |
8081da07 | 19 | |
748086b7 JJ |
20 | // You should have received a copy of the GNU General Public License and |
21 | // a copy of the GCC Runtime Library Exception along with this program; | |
22 | // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see | |
23 | // <http://www.gnu.org/licenses/>. | |
8081da07 | 24 | |
af13a7a6 BK |
25 | /** @file wchar.h |
26 | * This is a Standard C++ Library header. | |
27 | */ | |
8081da07 BK |
28 | |
29 | #include <cwchar> | |
30 | ||
af13a7a6 BK |
31 | #ifndef _GLIBCXX_WCHAR_H |
32 | #define _GLIBCXX_WCHAR_H 1 | |
33 | ||
34 | #ifdef _GLIBCXX_NAMESPACE_C | |
8081da07 BK |
35 | using std::mbstate_t; |
36 | ||
3d7c150e | 37 | #if _GLIBCXX_USE_WCHAR_T |
8081da07 BK |
38 | using std::wint_t; |
39 | ||
40 | using std::btowc; | |
41 | using std::wctob; | |
42 | using std::fgetwc; | |
43 | using std::fgetwc; | |
44 | using std::fgetws; | |
45 | using std::fputwc; | |
46 | using std::fputws; | |
47 | using std::fwide; | |
48 | using std::fwprintf; | |
49 | using std::fwscanf; | |
50 | using std::swprintf; | |
51 | using std::swscanf; | |
52 | using std::vfwprintf; | |
2b1be54b | 53 | #if _GLIBCXX_HAVE_VFWSCANF |
8081da07 | 54 | using std::vfwscanf; |
23131008 | 55 | #endif |
8081da07 | 56 | using std::vswprintf; |
2b1be54b | 57 | #if _GLIBCXX_HAVE_VSWSCANF |
8081da07 | 58 | using std::vswscanf; |
23131008 | 59 | #endif |
8081da07 | 60 | using std::vwprintf; |
2b1be54b | 61 | #if _GLIBCXX_HAVE_VWSCANF |
8081da07 | 62 | using std::vwscanf; |
23131008 | 63 | #endif |
8081da07 BK |
64 | using std::wprintf; |
65 | using std::wscanf; | |
66 | using std::getwc; | |
67 | using std::getwchar; | |
68 | using std::mbsinit; | |
69 | using std::mbrlen; | |
70 | using std::mbrtowc; | |
71 | using std::mbsrtowcs; | |
72 | using std::wcsrtombs; | |
73 | using std::putwc; | |
74 | using std::putwchar; | |
75 | using std::ungetwc; | |
76 | using std::wcrtomb; | |
77 | using std::wcstod; | |
2b1be54b | 78 | #if _GLIBCXX_HAVE_WCSTOF |
8081da07 | 79 | using std::wcstof; |
23131008 | 80 | #endif |
8081da07 BK |
81 | using std::wcstol; |
82 | using std::wcstoul; | |
83 | using std::wcscpy; | |
84 | using std::wcsncpy; | |
85 | using std::wcscat; | |
86 | using std::wcsncat; | |
87 | using std::wcscmp; | |
88 | using std::wcscoll; | |
89 | using std::wcsncmmp; | |
90 | using std::wcsxfrm; | |
91 | using std::wcschr; | |
92 | using std::wcscspn; | |
93 | using std::wcslen; | |
94 | using std::wcspbrk; | |
95 | using std::wcsrchr; | |
96 | using std::wcsspn; | |
97 | using std::wcsstr; | |
98 | using std::wcstok; | |
99 | using std::wmemchr; | |
100 | using std::wmemcmp; | |
101 | using std::wmemcpy; | |
102 | using std::wmemmove; | |
103 | using std::wmemset; | |
104 | using std::wcsftime; | |
105 | ||
23c64853 | 106 | #if _GLIBCXX_USE_C99_WCHAR |
8081da07 BK |
107 | using std::wcstold; |
108 | using std::wcstoll; | |
109 | using std::wcstoull; | |
110 | #endif | |
111 | ||
3d7c150e | 112 | #endif //_GLIBCXX_USE_WCHAR_T |
8081da07 | 113 | |
af13a7a6 BK |
114 | #endif |
115 | ||
8081da07 | 116 | #endif |