File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed
cpp/common/test/includes/standard-library Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ #pragma once
2
+ #ifndef _GHLIBCPP_CWCHAR
3
+ #define _GHLIBCPP_CWCHAR
4
+ #include "wchar.h"
5
+
6
+ namespace std {
7
+ using ::fgetwc;
8
+ using ::fputwc;
9
+ using ::wcstod;
10
+ using ::wcstof;
11
+ using ::wcstol;
12
+ using ::wcstold;
13
+ using ::wcstoll;
14
+ using ::wcstoul;
15
+ using ::wcstoull;
16
+ } // namespace std
17
+
18
+ #endif // _GHLIBCPP_CWCHAR
Original file line number Diff line number Diff line change
1
+ #ifndef _GHLIBCPP_WCHAR
2
+ #define _GHLIBCPP_WCHAR
3
+
4
+ #include "stddef.h"
5
+
6
+ // Wide character I/O functions
7
+ wchar_t fgetwc (void * stream );
8
+ wchar_t fputwc (wchar_t wc , void * stream );
9
+
10
+ // Wide character string conversion functions
11
+ long wcstol (const wchar_t * str , wchar_t * * endptr , int base );
12
+ long long wcstoll (const wchar_t * str , wchar_t * * endptr , int base );
13
+ unsigned long wcstoul (const wchar_t * str , wchar_t * * endptr , int base );
14
+ unsigned long long wcstoull (const wchar_t * str , wchar_t * * endptr , int base );
15
+ double wcstod (const wchar_t * str , wchar_t * * endptr );
16
+ float wcstof (const wchar_t * str , wchar_t * * endptr );
17
+ long double wcstold (const wchar_t * str , wchar_t * * endptr );
18
+
19
+ #endif // _GHLIBCPP_WCHAR
You can’t perform that action at this time.
0 commit comments