Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
7c6a50cc
Commit
7c6a50cc
authored
Jan 17, 2024
by
Daniel Lehman
Committed by
Alexandre Julliard
Feb 16, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add some msvcrt declarations.
parent
1a4163b6
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
17 additions
and
0 deletions
+17
-0
corecrt_wctype.h
include/msvcrt/corecrt_wctype.h
+2
-0
corecrt_wstdlib.h
include/msvcrt/corecrt_wstdlib.h
+6
-0
corecrt_wtime.h
include/msvcrt/corecrt_wtime.h
+1
-0
stdlib.h
include/msvcrt/stdlib.h
+1
-0
time.h
include/msvcrt/time.h
+1
-0
wchar.h
include/msvcrt/wchar.h
+1
-0
tchar.h
include/tchar.h
+5
-0
No files found.
include/msvcrt/corecrt_wctype.h
View file @
7c6a50cc
...
...
@@ -28,6 +28,7 @@ _ACRTIMP int __cdecl _isleadbyte_l(int,_locale_t);
_ACRTIMP
int
__cdecl
_iswalnum_l
(
wint_t
,
_locale_t
);
_ACRTIMP
int
__cdecl
_iswalpha_l
(
wint_t
,
_locale_t
);
_ACRTIMP
int
__cdecl
_iswblank_l
(
wint_t
,
_locale_t
);
_ACRTIMP
int
__cdecl
_iswcntrl_l
(
wint_t
,
_locale_t
);
_ACRTIMP
int
__cdecl
_iswctype_l
(
wint_t
,
wctype_t
,
_locale_t
);
_ACRTIMP
int
__cdecl
_iswdigit_l
(
wint_t
,
_locale_t
);
_ACRTIMP
int
__cdecl
_iswgraph_l
(
wint_t
,
_locale_t
);
...
...
@@ -36,6 +37,7 @@ _ACRTIMP int __cdecl _iswprint_l(wint_t,_locale_t);
_ACRTIMP
int
__cdecl
_iswpunct_l
(
wint_t
,
_locale_t
);
_ACRTIMP
int
__cdecl
_iswspace_l
(
wint_t
,
_locale_t
);
_ACRTIMP
int
__cdecl
_iswupper_l
(
wint_t
,
_locale_t
);
_ACRTIMP
int
__cdecl
_iswxdigit_l
(
wint_t
,
_locale_t
);
_ACRTIMP
wint_t
__cdecl
_towlower_l
(
wint_t
,
_locale_t
);
_ACRTIMP
wint_t
__cdecl
_towupper_l
(
wint_t
,
_locale_t
);
_ACRTIMP
int
__cdecl
is_wctype
(
wint_t
,
wctype_t
);
...
...
include/msvcrt/corecrt_wstdlib.h
View file @
7c6a50cc
...
...
@@ -46,6 +46,7 @@ _ACRTIMP errno_t __cdecl _mbstowcs_s_l(size_t*,wchar_t*,size_t,const char*
_ACRTIMP
int
__cdecl
mbtowc
(
wchar_t
*
,
const
char
*
,
size_t
);
_ACRTIMP
int
__cdecl
_mbtowc_l
(
wchar_t
*
,
const
char
*
,
size_t
,
_locale_t
);
_ACRTIMP
float
__cdecl
wcstof
(
const
wchar_t
*
,
wchar_t
**
);
_ACRTIMP
float
__cdecl
_wcstof_l
(
const
wchar_t
*
,
wchar_t
**
,
_locale_t
);
_ACRTIMP
double
__cdecl
wcstod
(
const
wchar_t
*
,
wchar_t
**
);
_ACRTIMP
__msvcrt_long
__cdecl
wcstol
(
const
wchar_t
*
,
wchar_t
**
,
int
);
_ACRTIMP
size_t
__cdecl
wcstombs
(
char
*
,
const
wchar_t
*
,
size_t
);
...
...
@@ -63,6 +64,11 @@ _ACRTIMP __int64 __cdecl _wcstoll_l(const wchar_t*,wchar_t**,int,_locale_t
_ACRTIMP
unsigned
__int64
__cdecl
wcstoull
(
const
wchar_t
*
,
wchar_t
**
,
int
);
_ACRTIMP
unsigned
__int64
__cdecl
_wcstoull_l
(
const
wchar_t
*
,
wchar_t
**
,
int
,
_locale_t
);
#ifdef _UCRT
_ACRTIMP
double
__cdecl
_wcstold_l
(
const
wchar_t
*
,
wchar_t
**
,
_locale_t
);
static
inline
long
double
wcstold
(
const
wchar_t
*
string
,
wchar_t
**
endptr
)
{
return
_wcstold_l
(
string
,
endptr
,
NULL
);
}
#endif
/* _UCRT */
#ifdef __cplusplus
extern
"C++"
{
...
...
include/msvcrt/corecrt_wtime.h
View file @
7c6a50cc
...
...
@@ -30,6 +30,7 @@ extern "C" {
_ACRTIMP
wchar_t
*
__cdecl
_wasctime
(
const
struct
tm
*
);
_ACRTIMP
size_t
__cdecl
wcsftime
(
wchar_t
*
,
size_t
,
const
wchar_t
*
,
const
struct
tm
*
);
_ACRTIMP
size_t
__cdecl
_wcsftime_l
(
wchar_t
*
,
size_t
,
const
wchar_t
*
,
const
struct
tm
*
,
_locale_t
);
_ACRTIMP
wchar_t
*
__cdecl
_wctime32
(
const
__time32_t
*
);
_ACRTIMP
wchar_t
*
__cdecl
_wctime64
(
const
__time64_t
*
);
_ACRTIMP
wchar_t
*
__cdecl
_wstrdate
(
wchar_t
*
);
...
...
include/msvcrt/stdlib.h
View file @
7c6a50cc
...
...
@@ -225,6 +225,7 @@ _ACRTIMP int __cdecl rand(void);
_ACRTIMP
errno_t
__cdecl
rand_s
(
unsigned
int
*
);
_ACRTIMP
void
__cdecl
srand
(
unsigned
int
);
_ACRTIMP
float
__cdecl
strtof
(
const
char
*
,
char
**
);
_ACRTIMP
float
__cdecl
_strtof_l
(
const
char
*
,
char
**
,
_locale_t
);
_ACRTIMP
double
__cdecl
strtod
(
const
char
*
,
char
**
);
_ACRTIMP
__msvcrt_long
__cdecl
strtol
(
const
char
*
,
char
**
,
int
);
_ACRTIMP
__msvcrt_ulong
__cdecl
strtoul
(
const
char
*
,
char
**
,
int
);
...
...
include/msvcrt/time.h
View file @
7c6a50cc
...
...
@@ -91,6 +91,7 @@ _ACRTIMP errno_t __cdecl _localtime64_s(struct tm*, const __time64_t*);
_ACRTIMP
__time32_t
__cdecl
_mktime32
(
struct
tm
*
);
_ACRTIMP
__time64_t
__cdecl
_mktime64
(
struct
tm
*
);
_ACRTIMP
size_t
__cdecl
strftime
(
char
*
,
size_t
,
const
char
*
,
const
struct
tm
*
);
_ACRTIMP
size_t
__cdecl
_strftime_l
(
char
*
,
size_t
,
const
char
*
,
const
struct
tm
*
,
_locale_t
);
_ACRTIMP
__time32_t
__cdecl
_time32
(
__time32_t
*
);
_ACRTIMP
__time64_t
__cdecl
_time64
(
__time64_t
*
);
...
...
include/msvcrt/wchar.h
View file @
7c6a50cc
...
...
@@ -39,6 +39,7 @@ size_t __cdecl mbrlen(const char *,size_t,mbstate_t*);
size_t
__cdecl
mbrtowc
(
wchar_t
*
,
const
char
*
,
size_t
,
mbstate_t
*
);
size_t
__cdecl
mbsrtowcs
(
wchar_t
*
,
const
char
**
,
size_t
,
mbstate_t
*
);
size_t
__cdecl
wcrtomb
(
char
*
,
wchar_t
,
mbstate_t
*
);
int
__cdecl
wcrtomb_s
(
size_t
*
,
char
*
,
size_t
,
wchar_t
,
mbstate_t
*
);
size_t
__cdecl
wcsrtombs
(
char
*
,
const
wchar_t
**
,
size_t
,
mbstate_t
*
);
int
__cdecl
wctob
(
wint_t
);
...
...
include/tchar.h
View file @
7c6a50cc
...
...
@@ -115,6 +115,7 @@ extern "C" {
#define _tcsdec WINE_tchar_routine(_strdec, _mbsdec, _wcsdec)
#define _tcsdup WINE_tchar_routine(strdup, _mbsdup, _wcsdup)
#define _tcsftime WINE_tchar_routine(strftime, strftime, wcsftime)
#define _tcsftime_l WINE_tchar_routine(_strftime_l, _strftime_l, _wcsftime_l)
#define _tcsicmp WINE_tchar_routine(strcasecmp, _mbsicmp, _wcsicmp)
#define _tcsicoll WINE_tchar_routine(_stricoll, _stricoll, _wcsicoll)
#define _tcsinc WINE_tchar_routine(_strinc, _mbsinc, _wcsinc)
...
...
@@ -148,8 +149,12 @@ extern "C" {
#define _tcsspn WINE_tchar_routine(strspn, _mbsspn, wcsspn)
#define _tcsstr WINE_tchar_routine(strstr, _mbsstr, wcsstr)
#define _tcstod WINE_tchar_routine(strtod, strtod, wcstod)
#define _tcstof WINE_tchar_routine(strtof, strtof, wcstof)
#define _tcstof_l WINE_tchar_routine(_strtof_l, _strtof_l, _wcstof_l)
#define _tcstok WINE_tchar_routine(strtok, _mbstok, _wcstok)
#define _tcstol WINE_tchar_routine(strtol, strtol, wcstol)
#define _tcstold WINE_tchar_routine(strtold, strtold, wcstold)
#define _tcstold_l WINE_tchar_routine(_strtold_l, _strtold_l, _wcstold_l)
#define _tcstoll WINE_tchar_routine(strtoll, strtoll, wcstoll)
#define _tcstoll_l WINE_tchar_routine(_strtoll_l, _strtoll_l, _wcstoll_l)
#define _tcstoul WINE_tchar_routine(strtoul, strtoul, wcstoul)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment