Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
37ecbf6d
Commit
37ecbf6d
authored
Oct 30, 2023
by
Bartosz Kosiorek
Committed by
Alexandre Julliard
Nov 02, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Add _cwprintf_l implementation.
parent
07404c0b
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
23 additions
and
6 deletions
+23
-6
msvcr100.spec
dlls/msvcr100/msvcr100.spec
+1
-1
msvcr110.spec
dlls/msvcr110/msvcr110.spec
+1
-1
msvcr120.spec
dlls/msvcr120/msvcr120.spec
+1
-1
msvcr80.spec
dlls/msvcr80/msvcr80.spec
+1
-1
msvcr90.spec
dlls/msvcr90/msvcr90.spec
+1
-1
console.c
dlls/msvcrt/console.c
+17
-0
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+1
-1
No files found.
dlls/msvcr100/msvcr100.spec
View file @
37ecbf6d
...
@@ -757,7 +757,7 @@
...
@@ -757,7 +757,7 @@
@ cdecl _ctime64_s(str long ptr)
@ cdecl _ctime64_s(str long ptr)
@ cdecl _cwait(ptr long long)
@ cdecl _cwait(ptr long long)
@ varargs _cwprintf(wstr)
@ varargs _cwprintf(wstr)
@
stub _cwprintf_l
@
varargs _cwprintf_l(wstr ptr)
@ stub _cwprintf_p
@ stub _cwprintf_p
@ stub _cwprintf_p_l
@ stub _cwprintf_p_l
@ stub _cwprintf_s
@ stub _cwprintf_s
...
...
dlls/msvcr110/msvcr110.spec
View file @
37ecbf6d
...
@@ -1105,7 +1105,7 @@
...
@@ -1105,7 +1105,7 @@
@ cdecl _ctime64_s(str long ptr)
@ cdecl _ctime64_s(str long ptr)
@ cdecl _cwait(ptr long long)
@ cdecl _cwait(ptr long long)
@ varargs _cwprintf(wstr)
@ varargs _cwprintf(wstr)
@
stub _cwprintf_l
@
varargs _cwprintf_l(wstr ptr)
@ stub _cwprintf_p
@ stub _cwprintf_p
@ stub _cwprintf_p_l
@ stub _cwprintf_p_l
@ stub _cwprintf_s
@ stub _cwprintf_s
...
...
dlls/msvcr120/msvcr120.spec
View file @
37ecbf6d
...
@@ -1097,7 +1097,7 @@
...
@@ -1097,7 +1097,7 @@
@ cdecl _ctime64_s(str long ptr)
@ cdecl _ctime64_s(str long ptr)
@ cdecl _cwait(ptr long long)
@ cdecl _cwait(ptr long long)
@ varargs _cwprintf(wstr)
@ varargs _cwprintf(wstr)
@
stub _cwprintf_l
@
varargs _cwprintf_l(wstr ptr)
@ stub _cwprintf_p
@ stub _cwprintf_p
@ stub _cwprintf_p_l
@ stub _cwprintf_p_l
@ stub _cwprintf_s
@ stub _cwprintf_s
...
...
dlls/msvcr80/msvcr80.spec
View file @
37ecbf6d
...
@@ -421,7 +421,7 @@
...
@@ -421,7 +421,7 @@
@ cdecl _ctime64_s(str long ptr)
@ cdecl _ctime64_s(str long ptr)
@ cdecl _cwait(ptr long long)
@ cdecl _cwait(ptr long long)
@ varargs _cwprintf(wstr)
@ varargs _cwprintf(wstr)
@
stub _cwprintf_l
@
varargs _cwprintf_l(wstr ptr)
@ stub _cwprintf_p
@ stub _cwprintf_p
@ stub _cwprintf_p_l
@ stub _cwprintf_p_l
@ stub _cwprintf_s
@ stub _cwprintf_s
...
...
dlls/msvcr90/msvcr90.spec
View file @
37ecbf6d
...
@@ -404,7 +404,7 @@
...
@@ -404,7 +404,7 @@
@ cdecl _ctime64_s(str long ptr)
@ cdecl _ctime64_s(str long ptr)
@ cdecl _cwait(ptr long long)
@ cdecl _cwait(ptr long long)
@ varargs _cwprintf(wstr)
@ varargs _cwprintf(wstr)
@
stub _cwprintf_l
@
varargs _cwprintf_l(wstr ptr)
@ stub _cwprintf_p
@ stub _cwprintf_p
@ stub _cwprintf_p_l
@ stub _cwprintf_p_l
@ stub _cwprintf_s
@ stub _cwprintf_s
...
...
dlls/msvcrt/console.c
View file @
37ecbf6d
...
@@ -572,6 +572,7 @@ int WINAPIV _cprintf(const char* format, ...)
...
@@ -572,6 +572,7 @@ int WINAPIV _cprintf(const char* format, ...)
return
retval
;
return
retval
;
}
}
#if _MSVCR_VER<=120
/*********************************************************************
/*********************************************************************
* _vcwprintf_l (MSVCRT.@)
* _vcwprintf_l (MSVCRT.@)
*/
*/
...
@@ -589,6 +590,21 @@ int CDECL _vcwprintf(const wchar_t* format, va_list valist)
...
@@ -589,6 +590,21 @@ int CDECL _vcwprintf(const wchar_t* format, va_list valist)
}
}
/*********************************************************************
/*********************************************************************
* _cwprintf_l (MSVCRT.@)
*/
int
WINAPIV
_cwprintf_l
(
const
wchar_t
*
format
,
_locale_t
locale
,
...)
{
int
retval
;
va_list
valist
;
va_start
(
valist
,
locale
);
retval
=
_vcwprintf_l
(
format
,
locale
,
valist
);
va_end
(
valist
);
return
retval
;
}
/*********************************************************************
* _cwprintf (MSVCRT.@)
* _cwprintf (MSVCRT.@)
*/
*/
int
WINAPIV
_cwprintf
(
const
wchar_t
*
format
,
...)
int
WINAPIV
_cwprintf
(
const
wchar_t
*
format
,
...)
...
@@ -602,6 +618,7 @@ int WINAPIV _cwprintf(const wchar_t* format, ...)
...
@@ -602,6 +618,7 @@ int WINAPIV _cwprintf(const wchar_t* format, ...)
return
retval
;
return
retval
;
}
}
#endif
#if _MSVCR_VER>=140
#if _MSVCR_VER>=140
...
...
dlls/msvcrt/msvcrt.spec
View file @
37ecbf6d
...
@@ -393,7 +393,7 @@
...
@@ -393,7 +393,7 @@
@ extern _ctype MSVCRT__ctype
@ extern _ctype MSVCRT__ctype
@ cdecl _cwait(ptr long long)
@ cdecl _cwait(ptr long long)
@ varargs _cwprintf(wstr)
@ varargs _cwprintf(wstr)
# stub
_cwprintf_l(wstr ptr)
@ varargs
_cwprintf_l(wstr ptr)
# stub _cwprintf_p(wstr)
# stub _cwprintf_p(wstr)
# stub _cwprintf_p_l(wstr ptr)
# stub _cwprintf_p_l(wstr ptr)
# stub _cwprintf_s(wstr)
# stub _cwprintf_s(wstr)
...
...
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