Hans Leidekker : msvcrt: Implement ___lc_codepage_func, ___lc_collate_cp_func and ___lc_handle_func.
Alexandre Julliard
julliard at winehq.org
Thu Apr 16 14:34:46 CDT 2009
Module: wine
Branch: master
Commit: 4aec827b1ed0fdddefb17e47fb4433d00334998a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4aec827b1ed0fdddefb17e47fb4433d00334998a
Author: Hans Leidekker <hans at codeweavers.com>
Date: Wed Apr 15 15:18:19 2009 +0200
msvcrt: Implement ___lc_codepage_func, ___lc_collate_cp_func and ___lc_handle_func.
---
dlls/msvcrt/locale.c | 24 ++++++++++++++++++++++++
dlls/msvcrt/msvcrt.spec | 6 +++---
2 files changed, 27 insertions(+), 3 deletions(-)
diff --git a/dlls/msvcrt/locale.c b/dlls/msvcrt/locale.c
index f524c8d..5d6e545 100644
--- a/dlls/msvcrt/locale.c
+++ b/dlls/msvcrt/locale.c
@@ -607,3 +607,27 @@ void CDECL __lconv_init(void)
{
FIXME(" stub\n");
}
+
+/*********************************************************************
+ * ___lc_handle_func (MSVCRT.@)
+ */
+HANDLE * CDECL ___lc_handle_func(void)
+{
+ return MSVCRT___lc_handle;
+}
+
+/*********************************************************************
+ * ___lc_codepage_func (MSVCRT.@)
+ */
+int CDECL ___lc_codepage_func(void)
+{
+ return MSVCRT___lc_codepage;
+}
+
+/*********************************************************************
+ * ___lc_collate_cp_func (MSVCRT.@)
+ */
+int CDECL ___lc_collate_cp_func(void)
+{
+ return MSVCRT___lc_collate_cp;
+}
diff --git a/dlls/msvcrt/msvcrt.spec b/dlls/msvcrt/msvcrt.spec
index 145b2b0..e67251d 100644
--- a/dlls/msvcrt/msvcrt.spec
+++ b/dlls/msvcrt/msvcrt.spec
@@ -84,9 +84,9 @@
@ cdecl __RTDynamicCast(ptr long ptr ptr long) MSVCRT___RTDynamicCast
@ cdecl __RTtypeid(ptr) MSVCRT___RTtypeid
@ cdecl __STRINGTOLD(ptr ptr str long)
-@ stub ___lc_codepage_func
-@ stub ___lc_collate_cp_func
-@ stub ___lc_handle_func
+@ cdecl ___lc_codepage_func()
+@ cdecl ___lc_collate_cp_func()
+@ cdecl ___lc_handle_func()
@ cdecl ___mb_cur_max_func() MSVCRT____mb_cur_max_func
@ cdecl ___setlc_active_func() MSVCRT____setlc_active_func
@ cdecl ___unguarded_readlc_active_add_func() MSVCRT____unguarded_readlc_active_add_func
More information about the wine-cvs
mailing list