source: mainline/uspace/lib/cpp/include/cwchar@ 394e22f

Last change on this file since 394e22f was b251af5a, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 7 years ago

Remove <lib/cpp/include/bits/common.hpp>, which is no longer necessary

  • Property mode set to 100644
File size: 5.4 KB
Line 
1/*
2 * Copyright (c) 2018 Jaroslav Jindrak
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * - Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 * - Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution.
14 * - The name of the author may not be used to endorse or promote products
15 * derived from this software without specific prior written permission.
16 *
17 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29#ifndef LIBCPP_WCHAR
30#define LIBCPP_WCHAR
31
32
33namespace std::hel
34{
35 extern "C" {
36 #include <wchar.h>
37 #include <time.h>
38 }
39}
40
41namespace std
42{
43 /* using std::hel::mbstate_t; */
44 using std::hel::size_t;
45 using std::hel::wint_t;
46 using std::hel::tm;
47
48 /* using std::hel::wcscpy; */
49 /* using std::hel::wcsncpy; */
50 /* using std::hel::wcscat; */
51 /* using std::hel::wcsncat; */
52 /* using std::hel::wcsnxfrm; */
53
54 /* using std::hel::wcslen; */
55 /* using std::hel::wcscmp; */
56 /* using std::hel::wcsncmp; */
57 /* using std::hel::wcscoll; */
58 /* using std::hel::wcschr; */
59 /* using std::hel::wcsrchr; */
60 /* using std::hel::wcsspn; */
61 /* using std::hel::wcscspn; */
62 /* using std::hel::wcspbrk; */
63 /* using std::hel::wcsstr; */
64 /* using std::hel::wcstok; */
65
66 /* using std::hel::wmemcpy; */
67 /* using std::hel::wmemmove; */
68 /* using std::hel::wmemcmp; */
69 /* using std::hel::wmemchr; */
70 /* using std::hel::wmemset; */
71
72 /* using std::hel::msbinit; */
73 /* using std::hel::btowc; */
74 /* using std::hel::wctob; */
75 /* using std::hel::mbrlen; */
76 /* using std::hel::mbrtowc; */
77 /* using std::hel::wctomb; */
78 /* using std::hel::mbsrtowcs; */
79 /* using std::hel::wcsrtombs; */
80
81 /* using std::hel::fgetwc; */
82 /* using std::hel::getwc; */
83 /* using std::hel::fgetws; */
84 /* using std::hel::fputwc; */
85 /* using std::hel::putwc; */
86 /* using std::hel::fputws; */
87 /* using std::hel::getwchar; */
88 /* using std::hel::putwchar; */
89 /* using std::hel::ungetwc; */
90 /* using std::hel::fwide; */
91 /* using std::hel::wscanf; */
92 /* using std::hel::fwscanf; */
93 /* using std::hel::swscanf; */
94 /* using std::hel::vwscanf; */
95 /* using std::hel::vfwscanf; */
96 /* using std::hel::vswscanf; */
97 /* using std::hel::wprintf; */
98 /* using std::hel::fwprintf; */
99 /* using std::hel::swprintf; */
100
101 /* using std::hel::wcsftime; */
102 /* using std::hel::wcstol; */
103 /* using std::hel::wcstoll; */
104 /* using std::hel::wcstoul; */
105 /* using std::hel::wcstoull; */
106 /* using std::hel::wcstof; */
107 /* using std::hel::wcstod; */
108 /* using std::hel::wcstold; */
109}
110
111/* using std::hel::mbstate_t; */
112using std::hel::size_t;
113using std::hel::wint_t;
114using std::hel::tm;
115
116/* using std::hel::wcscpy; */
117/* using std::hel::wcsncpy; */
118/* using std::hel::wcscat; */
119/* using std::hel::wcsncat; */
120/* using std::hel::wcsnxfrm; */
121
122/* using std::hel::wcslen; */
123/* using std::hel::wcscmp; */
124/* using std::hel::wcsncmp; */
125/* using std::hel::wcscoll; */
126/* using std::hel::wcschr; */
127/* using std::hel::wcsrchr; */
128/* using std::hel::wcsspn; */
129/* using std::hel::wcscspn; */
130/* using std::hel::wcspbrk; */
131/* using std::hel::wcsstr; */
132/* using std::hel::wcstok; */
133
134/* using std::hel::wmemcpy; */
135/* using std::hel::wmemmove; */
136/* using std::hel::wmemcmp; */
137/* using std::hel::wmemchr; */
138/* using std::hel::wmemset; */
139
140/* using std::hel::msbinit; */
141/* using std::hel::btowc; */
142/* using std::hel::wctob; */
143/* using std::hel::mbrlen; */
144/* using std::hel::mbrtowc; */
145/* using std::hel::wctomb; */
146/* using std::hel::mbsrtowcs; */
147/* using std::hel::wcsrtombs; */
148
149/* using std::hel::fgetwc; */
150/* using std::hel::getwc; */
151/* using std::hel::fgetws; */
152/* using std::hel::fputwc; */
153/* using std::hel::putwc; */
154/* using std::hel::fputws; */
155/* using std::hel::getwchar; */
156/* using std::hel::putwchar; */
157/* using std::hel::ungetwc; */
158/* using std::hel::fwide; */
159/* using std::hel::wscanf; */
160/* using std::hel::fwscanf; */
161/* using std::hel::swscanf; */
162/* using std::hel::vwscanf; */
163/* using std::hel::vfwscanf; */
164/* using std::hel::vswscanf; */
165/* using std::hel::wprintf; */
166/* using std::hel::fwprintf; */
167/* using std::hel::swprintf; */
168
169/* using std::hel::wcsftime; */
170/* using std::hel::wcstol; */
171/* using std::hel::wcstoll; */
172/* using std::hel::wcstoul; */
173/* using std::hel::wcstoull; */
174/* using std::hel::wcstof; */
175/* using std::hel::wcstod; */
176/* using std::hel::wcstold; */
177
178#endif
Note: See TracBrowser for help on using the repository browser.