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
1e5522ab
Commit
1e5522ab
authored
Feb 24, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 24, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add corecrt_wstdlib.h header.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2a33bacc
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
64 additions
and
86 deletions
+64
-86
Makefile.in
include/Makefile.in
+1
-0
corecrt_wstdlib.h
include/msvcrt/corecrt_wstdlib.h
+60
-0
stdlib.h
include/msvcrt/stdlib.h
+1
-45
wchar.h
include/msvcrt/wchar.h
+2
-41
No files found.
include/Makefile.in
View file @
1e5522ab
...
...
@@ -428,6 +428,7 @@ SOURCES = \
msvcrt/corecrt_wctype.h
\
msvcrt/corecrt_wio.h
\
msvcrt/corecrt_wstdio.h
\
msvcrt/corecrt_wstdlib.h
\
msvcrt/corecrt_wtime.h
\
msvcrt/crtdbg.h
\
msvcrt/crtdefs.h
\
...
...
include/msvcrt/corecrt_wstdlib.h
0 → 100644
View file @
1e5522ab
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the Wine project.
*/
#ifndef _WSTDLIB_DEFINED
#define _WSTDLIB_DEFINED
#include <corecrt.h>
#ifdef __cplusplus
extern
"C"
{
#endif
wchar_t
*
__cdecl
_itow
(
int
,
wchar_t
*
,
int
);
errno_t
__cdecl
_itow_s
(
int
,
wchar_t
*
,
int
,
int
);
wchar_t
*
__cdecl
_i64tow
(
__int64
,
wchar_t
*
,
int
);
errno_t
__cdecl
_i64tow_s
(
__int64
,
wchar_t
*
,
size_t
,
int
);
wchar_t
*
__cdecl
_ltow
(
__msvcrt_long
,
wchar_t
*
,
int
);
errno_t
__cdecl
_ltow_s
(
__msvcrt_long
,
wchar_t
*
,
int
,
int
);
wchar_t
*
__cdecl
_ui64tow
(
unsigned
__int64
,
wchar_t
*
,
int
);
errno_t
__cdecl
_ui64tow_s
(
unsigned
__int64
,
wchar_t
*
,
size_t
,
int
);
wchar_t
*
__cdecl
_ultow
(
__msvcrt_ulong
,
wchar_t
*
,
int
);
errno_t
__cdecl
_ultow_s
(
__msvcrt_ulong
,
wchar_t
*
,
size_t
,
int
);
wchar_t
*
__cdecl
_wfullpath
(
wchar_t
*
,
const
wchar_t
*
,
size_t
);
wchar_t
*
__cdecl
_wgetenv
(
const
wchar_t
*
);
void
__cdecl
_wmakepath
(
wchar_t
*
,
const
wchar_t
*
,
const
wchar_t
*
,
const
wchar_t
*
,
const
wchar_t
*
);
int
__cdecl
_wmakepath_s
(
wchar_t
*
,
size_t
,
const
wchar_t
*
,
const
wchar_t
*
,
const
wchar_t
*
,
const
wchar_t
*
);
void
__cdecl
_wperror
(
const
wchar_t
*
);
int
__cdecl
_wputenv
(
const
wchar_t
*
);
void
__cdecl
_wsearchenv
(
const
wchar_t
*
,
const
wchar_t
*
,
wchar_t
*
);
void
__cdecl
_wsplitpath
(
const
wchar_t
*
,
wchar_t
*
,
wchar_t
*
,
wchar_t
*
,
wchar_t
*
);
errno_t
__cdecl
_wsplitpath_s
(
const
wchar_t
*
,
wchar_t
*
,
size_t
,
wchar_t
*
,
size_t
,
wchar_t
*
,
size_t
,
wchar_t
*
,
size_t
);
int
__cdecl
_wsystem
(
const
wchar_t
*
);
double
__cdecl
_wtof
(
const
wchar_t
*
);
int
__cdecl
_wtoi
(
const
wchar_t
*
);
__int64
__cdecl
_wtoi64
(
const
wchar_t
*
);
__msvcrt_long
__cdecl
_wtol
(
const
wchar_t
*
);
size_t
__cdecl
mbstowcs
(
wchar_t
*
,
const
char
*
,
size_t
);
errno_t
__cdecl
mbstowcs_s
(
size_t
*
,
wchar_t
*
,
size_t
,
const
char
*
,
size_t
);
int
__cdecl
mbtowc
(
wchar_t
*
,
const
char
*
,
size_t
);
float
__cdecl
wcstof
(
const
wchar_t
*
,
wchar_t
**
);
double
__cdecl
wcstod
(
const
wchar_t
*
,
wchar_t
**
);
__msvcrt_long
__cdecl
wcstol
(
const
wchar_t
*
,
wchar_t
**
,
int
);
size_t
__cdecl
wcstombs
(
char
*
,
const
wchar_t
*
,
size_t
);
errno_t
__cdecl
wcstombs_s
(
size_t
*
,
char
*
,
size_t
,
const
wchar_t
*
,
size_t
);
__msvcrt_ulong
__cdecl
wcstoul
(
const
wchar_t
*
,
wchar_t
**
,
int
);
int
__cdecl
wctomb
(
char
*
,
wchar_t
);
__int64
__cdecl
_wcstoi64
(
const
wchar_t
*
,
wchar_t
**
,
int
);
__int64
__cdecl
_wcstoi64_l
(
const
wchar_t
*
,
wchar_t
**
,
int
,
_locale_t
);
unsigned
__int64
__cdecl
_wcstoui64
(
const
wchar_t
*
,
wchar_t
**
,
int
);
unsigned
__int64
__cdecl
_wcstoui64_l
(
const
wchar_t
*
,
wchar_t
**
,
int
,
_locale_t
);
#ifdef __cplusplus
}
#endif
#endif
/* _WSTDLIB_DEFINED */
include/msvcrt/stdlib.h
View file @
1e5522ab
...
...
@@ -8,7 +8,7 @@
#ifndef __WINE_STDLIB_H
#define __WINE_STDLIB_H
#include <corecrt.h>
#include <corecrt
_wstdlib
.h>
#include <pshpack8.h>
...
...
@@ -222,50 +222,6 @@ int __cdecl system(const char*);
void
*
__cdecl
bsearch
(
const
void
*
,
const
void
*
,
size_t
,
size_t
,
int
(
__cdecl
*
)(
const
void
*
,
const
void
*
));
void
__cdecl
qsort
(
void
*
,
size_t
,
size_t
,
int
(
__cdecl
*
)(
const
void
*
,
const
void
*
));
#ifndef _WSTDLIB_DEFINED
#define _WSTDLIB_DEFINED
wchar_t
*
__cdecl
_itow
(
int
,
wchar_t
*
,
int
);
errno_t
__cdecl
_itow_s
(
int
,
wchar_t
*
,
int
,
int
);
wchar_t
*
__cdecl
_i64tow
(
__int64
,
wchar_t
*
,
int
);
errno_t
__cdecl
_i64tow_s
(
__int64
,
wchar_t
*
,
size_t
,
int
);
wchar_t
*
__cdecl
_ltow
(
__msvcrt_long
,
wchar_t
*
,
int
);
errno_t
__cdecl
_ltow_s
(
__msvcrt_long
,
wchar_t
*
,
int
,
int
);
wchar_t
*
__cdecl
_ui64tow
(
unsigned
__int64
,
wchar_t
*
,
int
);
errno_t
__cdecl
_ui64tow_s
(
unsigned
__int64
,
wchar_t
*
,
size_t
,
int
);
wchar_t
*
__cdecl
_ultow
(
__msvcrt_ulong
,
wchar_t
*
,
int
);
errno_t
__cdecl
_ultow_s
(
__msvcrt_ulong
,
wchar_t
*
,
size_t
,
int
);
wchar_t
*
__cdecl
_wfullpath
(
wchar_t
*
,
const
wchar_t
*
,
size_t
);
wchar_t
*
__cdecl
_wgetenv
(
const
wchar_t
*
);
void
__cdecl
_wmakepath
(
wchar_t
*
,
const
wchar_t
*
,
const
wchar_t
*
,
const
wchar_t
*
,
const
wchar_t
*
);
int
__cdecl
_wmakepath_s
(
wchar_t
*
,
size_t
,
const
wchar_t
*
,
const
wchar_t
*
,
const
wchar_t
*
,
const
wchar_t
*
);
void
__cdecl
_wperror
(
const
wchar_t
*
);
int
__cdecl
_wputenv
(
const
wchar_t
*
);
void
__cdecl
_wsearchenv
(
const
wchar_t
*
,
const
wchar_t
*
,
wchar_t
*
);
void
__cdecl
_wsplitpath
(
const
wchar_t
*
,
wchar_t
*
,
wchar_t
*
,
wchar_t
*
,
wchar_t
*
);
errno_t
__cdecl
_wsplitpath_s
(
const
wchar_t
*
,
wchar_t
*
,
size_t
,
wchar_t
*
,
size_t
,
wchar_t
*
,
size_t
,
wchar_t
*
,
size_t
);
int
__cdecl
_wsystem
(
const
wchar_t
*
);
double
__cdecl
_wtof
(
const
wchar_t
*
);
int
__cdecl
_wtoi
(
const
wchar_t
*
);
__int64
__cdecl
_wtoi64
(
const
wchar_t
*
);
__msvcrt_long
__cdecl
_wtol
(
const
wchar_t
*
);
size_t
__cdecl
mbstowcs
(
wchar_t
*
,
const
char
*
,
size_t
);
errno_t
__cdecl
mbstowcs_s
(
size_t
*
,
wchar_t
*
,
size_t
,
const
char
*
,
size_t
);
int
__cdecl
mbtowc
(
wchar_t
*
,
const
char
*
,
size_t
);
float
__cdecl
wcstof
(
const
wchar_t
*
,
wchar_t
**
);
double
__cdecl
wcstod
(
const
wchar_t
*
,
wchar_t
**
);
__msvcrt_long
__cdecl
wcstol
(
const
wchar_t
*
,
wchar_t
**
,
int
);
size_t
__cdecl
wcstombs
(
char
*
,
const
wchar_t
*
,
size_t
);
errno_t
__cdecl
wcstombs_s
(
size_t
*
,
char
*
,
size_t
,
const
wchar_t
*
,
size_t
);
__msvcrt_ulong
__cdecl
wcstoul
(
const
wchar_t
*
,
wchar_t
**
,
int
);
int
__cdecl
wctomb
(
char
*
,
wchar_t
);
__int64
__cdecl
_wcstoi64
(
const
wchar_t
*
,
wchar_t
**
,
int
);
__int64
__cdecl
_wcstoi64_l
(
const
wchar_t
*
,
wchar_t
**
,
int
,
_locale_t
);
unsigned
__int64
__cdecl
_wcstoui64
(
const
wchar_t
*
,
wchar_t
**
,
int
);
unsigned
__int64
__cdecl
_wcstoui64_l
(
const
wchar_t
*
,
wchar_t
**
,
int
,
_locale_t
);
#endif
/* _WSTDLIB_DEFINED */
typedef
void
(
__cdecl
*
_invalid_parameter_handler
)(
const
wchar_t
*
,
const
wchar_t
*
,
const
wchar_t
*
,
unsigned
,
uintptr_t
);
_invalid_parameter_handler
__cdecl
_set_invalid_parameter_handler
(
_invalid_parameter_handler
);
_invalid_parameter_handler
__cdecl
_get_invalid_parameter_handler
(
void
);
...
...
include/msvcrt/wchar.h
View file @
1e5522ab
...
...
@@ -8,9 +8,10 @@
#ifndef __WINE_WCHAR_H
#define __WINE_WCHAR_H
#include <corecrt_wstdio.h>
#include <corecrt_wctype.h>
#include <corecrt_wio.h>
#include <corecrt_wstdio.h>
#include <corecrt_wstdlib.h>
#include <corecrt_wtime.h>
#include <string.h>
#include <sys/stat.h>
...
...
@@ -61,46 +62,6 @@ int __cdecl _wspawnvpe(int,const wchar_t*,const wchar_t* const *,const wcha
int
__cdecl
_wsystem
(
const
wchar_t
*
);
#endif
/* _WPROCESS_DEFINED */
#ifndef _WSTDLIB_DEFINED
#define _WSTDLIB_DEFINED
wchar_t
*
__cdecl
_itow
(
int
,
wchar_t
*
,
int
);
errno_t
__cdecl
_itow_s
(
int
,
wchar_t
*
,
int
,
int
);
wchar_t
*
__cdecl
_i64tow
(
__int64
,
wchar_t
*
,
int
);
errno_t
__cdecl
_i64tow_s
(
__int64
,
wchar_t
*
,
size_t
,
int
);
wchar_t
*
__cdecl
_ltow
(
__msvcrt_long
,
wchar_t
*
,
int
);
errno_t
__cdecl
_ltow_s
(
__msvcrt_long
,
wchar_t
*
,
int
,
int
);
wchar_t
*
__cdecl
_ui64tow
(
unsigned
__int64
,
wchar_t
*
,
int
);
errno_t
__cdecl
_ui64tow_s
(
unsigned
__int64
,
wchar_t
*
,
size_t
,
int
);
wchar_t
*
__cdecl
_ultow
(
__msvcrt_ulong
,
wchar_t
*
,
int
);
errno_t
__cdecl
_ultow_s
(
__msvcrt_ulong
,
wchar_t
*
,
size_t
,
int
);
wchar_t
*
__cdecl
_wfullpath
(
wchar_t
*
,
const
wchar_t
*
,
size_t
);
wchar_t
*
__cdecl
_wgetenv
(
const
wchar_t
*
);
void
__cdecl
_wmakepath
(
wchar_t
*
,
const
wchar_t
*
,
const
wchar_t
*
,
const
wchar_t
*
,
const
wchar_t
*
);
int
__cdecl
_wmakepath_s
(
wchar_t
*
,
size_t
,
const
wchar_t
*
,
const
wchar_t
*
,
const
wchar_t
*
,
const
wchar_t
*
);
void
__cdecl
_wperror
(
const
wchar_t
*
);
int
__cdecl
_wputenv
(
const
wchar_t
*
);
void
__cdecl
_wsearchenv
(
const
wchar_t
*
,
const
wchar_t
*
,
wchar_t
*
);
void
__cdecl
_wsplitpath
(
const
wchar_t
*
,
wchar_t
*
,
wchar_t
*
,
wchar_t
*
,
wchar_t
*
);
errno_t
__cdecl
_wsplitpath_s
(
const
wchar_t
*
,
wchar_t
*
,
size_t
,
wchar_t
*
,
size_t
,
wchar_t
*
,
size_t
,
wchar_t
*
,
size_t
);
int
__cdecl
_wsystem
(
const
wchar_t
*
);
double
__cdecl
_wtof
(
const
wchar_t
*
);
int
__cdecl
_wtoi
(
const
wchar_t
*
);
__int64
__cdecl
_wtoi64
(
const
wchar_t
*
);
__msvcrt_long
__cdecl
_wtol
(
const
wchar_t
*
);
size_t
__cdecl
mbstowcs
(
wchar_t
*
,
const
char
*
,
size_t
);
errno_t
__cdecl
mbstowcs_s
(
size_t
*
,
wchar_t
*
,
size_t
,
const
char
*
,
size_t
);
int
__cdecl
mbtowc
(
wchar_t
*
,
const
char
*
,
size_t
);
float
__cdecl
wcstof
(
const
wchar_t
*
,
wchar_t
**
);
double
__cdecl
wcstod
(
const
wchar_t
*
,
wchar_t
**
);
__msvcrt_long
__cdecl
wcstol
(
const
wchar_t
*
,
wchar_t
**
,
int
);
size_t
__cdecl
wcstombs
(
char
*
,
const
wchar_t
*
,
size_t
);
errno_t
__cdecl
wcstombs_s
(
size_t
*
,
char
*
,
size_t
,
const
wchar_t
*
,
size_t
);
__msvcrt_ulong
__cdecl
wcstoul
(
const
wchar_t
*
,
wchar_t
**
,
int
);
int
__cdecl
wctomb
(
char
*
,
wchar_t
);
#endif
/* _WSTDLIB_DEFINED */
#ifndef _WSTRING_DEFINED
#define _WSTRING_DEFINED
int
__cdecl
_wcscoll_l
(
const
wchar_t
*
,
const
wchar_t
*
,
_locale_t
);
...
...
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