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
5fe1c9aa
Commit
5fe1c9aa
authored
Feb 24, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 24, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
corecrt_wstdio.h: Add ucrt fwprintf and vfwprintf declarations.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e5771a94
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
corecrt_wstdio.h
include/msvcrt/corecrt_wstdio.h
+19
-2
No files found.
include/msvcrt/corecrt_wstdio.h
View file @
5fe1c9aa
...
...
@@ -71,7 +71,6 @@ wint_t __cdecl fgetwc(FILE*);
wchar_t
*
__cdecl
fgetws
(
wchar_t
*
,
int
,
FILE
*
);
wint_t
__cdecl
fputwc
(
wint_t
,
FILE
*
);
int
__cdecl
fputws
(
const
wchar_t
*
,
FILE
*
);
int
WINAPIV
fwprintf
(
FILE
*
,
const
wchar_t
*
,...);
int
WINAPIV
fwprintf_s
(
FILE
*
,
const
wchar_t
*
,...);
int
__cdecl
fputws
(
const
wchar_t
*
,
FILE
*
);
int
WINAPIV
fwscanf
(
FILE
*
,
const
wchar_t
*
,...);
...
...
@@ -86,7 +85,6 @@ int WINAPIV swprintf_s(wchar_t*,size_t,const wchar_t*,...);
int
WINAPIV
swscanf
(
const
wchar_t
*
,
const
wchar_t
*
,...);
int
WINAPIV
swscanf_s
(
const
wchar_t
*
,
const
wchar_t
*
,...);
wint_t
__cdecl
ungetwc
(
wint_t
,
FILE
*
);
int
__cdecl
vfwprintf
(
FILE
*
,
const
wchar_t
*
,
__ms_va_list
);
int
__cdecl
vfwprintf_s
(
FILE
*
,
const
wchar_t
*
,
__ms_va_list
);
int
__cdecl
vswprintf_s
(
wchar_t
*
,
size_t
,
const
wchar_t
*
,
__ms_va_list
);
int
__cdecl
vwprintf
(
const
wchar_t
*
,
__ms_va_list
);
...
...
@@ -98,6 +96,7 @@ int WINAPIV wscanf_s(const wchar_t*,...);
#ifdef _UCRT
_ACRTIMP
int
__cdecl
__stdio_common_vfwprintf
(
unsigned
__int64
,
FILE
*
,
const
wchar_t
*
,
_locale_t
,
__ms_va_list
);
_ACRTIMP
int
__cdecl
__stdio_common_vsnwprintf_s
(
unsigned
__int64
,
wchar_t
*
,
size_t
,
size_t
,
const
wchar_t
*
,
_locale_t
,
__ms_va_list
);
_ACRTIMP
int
__cdecl
__stdio_common_vswprintf
(
unsigned
__int64
,
wchar_t
*
,
size_t
,
const
wchar_t
*
,
_locale_t
,
__ms_va_list
);
_ACRTIMP
int
__cdecl
__stdio_common_vswprintf_p
(
unsigned
__int64
,
wchar_t
*
,
size_t
,
const
wchar_t
*
,
_locale_t
,
__ms_va_list
);
...
...
@@ -202,6 +201,22 @@ static inline int WINAPIV _scwprintf(const wchar_t *format, ...)
return
ret
;
}
static
inline
int
__cdecl
vfwprintf
(
FILE
*
file
,
const
wchar_t
*
format
,
__ms_va_list
args
)
{
return
__stdio_common_vfwprintf
(
_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS
,
file
,
format
,
NULL
,
args
);
}
static
inline
int
WINAPIV
fwprintf
(
FILE
*
file
,
const
wchar_t
*
format
,
...)
{
int
ret
;
__ms_va_list
args
;
__ms_va_start
(
args
,
format
);
ret
=
__stdio_common_vfwprintf
(
_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS
,
file
,
format
,
NULL
,
args
);
__ms_va_end
(
args
);
return
ret
;
}
#else
/* _UCRT */
_ACRTIMP
int
WINAPIV
_scwprintf
(
const
wchar_t
*
,...);
...
...
@@ -212,6 +227,8 @@ _ACRTIMP int __cdecl _vscwprintf_p_l(const wchar_t*,_locale_t,__ms_va_list);
_ACRTIMP
int
__cdecl
_vsnwprintf
(
wchar_t
*
,
size_t
,
const
wchar_t
*
,
__ms_va_list
);
_ACRTIMP
int
__cdecl
_vsnwprintf_s
(
wchar_t
*
,
size_t
,
size_t
,
const
wchar_t
*
,
__ms_va_list
);
_ACRTIMP
int
__cdecl
_vswprintf_p_l
(
wchar_t
*
,
size_t
,
const
wchar_t
*
,
_locale_t
,
__ms_va_list
);
_ACRTIMP
int
WINAPIV
fwprintf
(
FILE
*
,
const
wchar_t
*
,...);
_ACRTIMP
int
__cdecl
vfwprintf
(
FILE
*
,
const
wchar_t
*
,
__ms_va_list
);
#ifdef _CRT_NON_CONFORMING_SWPRINTFS
int
WINAPIV
swprintf
(
wchar_t
*
,
const
wchar_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