Eric Pouech : msvcrt: Implemented _putwch.
Alexandre Julliard
julliard at winehq.org
Wed Nov 3 11:37:03 CDT 2010
Module: wine
Branch: master
Commit: d36cfcf48a788c389e6b5df984db95e5f06394db
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d36cfcf48a788c389e6b5df984db95e5f06394db
Author: Eric Pouech <eric.pouech at orange.fr>
Date: Tue Nov 2 22:03:22 2010 +0100
msvcrt: Implemented _putwch.
---
dlls/msvcr100/msvcr100.spec | 2 +-
dlls/msvcr80/msvcr80.spec | 2 +-
dlls/msvcr90/msvcr90.spec | 2 +-
dlls/msvcrt/file.c | 8 ++++++++
dlls/msvcrt/msvcrt.spec | 2 +-
5 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/dlls/msvcr100/msvcr100.spec b/dlls/msvcr100/msvcr100.spec
index cace374..28f261e 100644
--- a/dlls/msvcr100/msvcr100.spec
+++ b/dlls/msvcr100/msvcr100.spec
@@ -1037,7 +1037,7 @@
@ cdecl _putenv(str) msvcrt._putenv
@ cdecl _putenv_s(str str) msvcrt._putenv_s
@ cdecl _putw(long ptr) msvcrt._putw
-@ stub _putwch
+@ cdecl _putwch(long) msvcrt._putwch
@ stub _putwch_nolock
@ cdecl _putws(wstr) msvcrt._putws
@ stub _pwctype
diff --git a/dlls/msvcr80/msvcr80.spec b/dlls/msvcr80/msvcr80.spec
index 9ac3094..2fda832 100644
--- a/dlls/msvcr80/msvcr80.spec
+++ b/dlls/msvcr80/msvcr80.spec
@@ -885,7 +885,7 @@
@ cdecl _putenv(str) msvcrt._putenv
@ cdecl _putenv_s(str str) msvcrt._putenv_s
@ cdecl _putw(long ptr) msvcrt._putw
-@ stub _putwch
+@ cdecl _putwch(long) msvcrt._putwch
@ stub _putwch_nolock
@ cdecl _putws(wstr) msvcrt._putws
@ stub _pwctype
diff --git a/dlls/msvcr90/msvcr90.spec b/dlls/msvcr90/msvcr90.spec
index a307afe..51aa66c 100644
--- a/dlls/msvcr90/msvcr90.spec
+++ b/dlls/msvcr90/msvcr90.spec
@@ -871,7 +871,7 @@
@ cdecl _putenv(str) msvcrt._putenv
@ cdecl _putenv_s(str str) msvcrt._putenv_s
@ cdecl _putw(long ptr) msvcrt._putw
-@ stub _putwch
+@ cdecl _putwch(long) msvcrt._putwch
@ stub _putwch_nolock
@ cdecl _putws(wstr) msvcrt._putws
@ stub _pwctype
diff --git a/dlls/msvcrt/file.c b/dlls/msvcrt/file.c
index 8902bdd..7074120 100644
--- a/dlls/msvcrt/file.c
+++ b/dlls/msvcrt/file.c
@@ -3130,6 +3130,14 @@ int CDECL MSVCRT_putchar(int c)
}
/*********************************************************************
+ * _putwch (MSVCRT.@)
+ */
+int CDECL MSVCRT__putwch(int c)
+{
+ return MSVCRT_fputwc(c, MSVCRT_stdout);
+}
+
+/*********************************************************************
* puts (MSVCRT.@)
*/
int CDECL MSVCRT_puts(const char *s)
diff --git a/dlls/msvcrt/msvcrt.spec b/dlls/msvcrt/msvcrt.spec
index 0f9fdb4..07c1981 100644
--- a/dlls/msvcrt/msvcrt.spec
+++ b/dlls/msvcrt/msvcrt.spec
@@ -819,7 +819,7 @@
@ cdecl _putenv(str)
@ cdecl _putenv_s(str str)
@ cdecl _putw(long ptr) MSVCRT__putw
-# stub _putwch
+@ cdecl _putwch(long) MSVCRT__putwch
@ cdecl _putws(wstr)
# extern _pwctype
@ cdecl _read(long ptr long) MSVCRT__read
More information about the wine-cvs
mailing list