Piotr Caban : msvcp90: Added _Locinfo::_Gettnames implementation.
Alexandre Julliard
julliard at winehq.org
Thu Dec 8 13:43:39 CST 2011
Module: wine
Branch: master
Commit: 451f9b9cc086f5b424523348f816a4b7495580a2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=451f9b9cc086f5b424523348f816a4b7495580a2
Author: Piotr Caban <piotr at codeweavers.com>
Date: Thu Dec 8 12:10:26 2011 +0100
msvcp90: Added _Locinfo::_Gettnames implementation.
---
dlls/msvcp90/locale.c | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/dlls/msvcp90/locale.c b/dlls/msvcp90/locale.c
index d0e5616..27687ba 100644
--- a/dlls/msvcp90/locale.c
+++ b/dlls/msvcp90/locale.c
@@ -30,6 +30,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(msvcp90);
char* __cdecl _Getdays(void);
char* __cdecl _Getmonths(void);
+void* __cdecl _Gettnames(void);
typedef int category;
@@ -692,7 +693,7 @@ DEFINE_THISCALL_WRAPPER(_Timevec_dtor, 4)
void __thiscall _Timevec_dtor(_Timevec *this)
{
TRACE("(%p)\n", this);
- MSVCRT_operator_delete(this->timeptr);
+ free(this->timeptr);
}
/* ??4_Timevec at std@@QAEAAV01 at ABV01@@Z */
@@ -1015,7 +1016,10 @@ basic_string_char __thiscall _Locinfo__Getname(const _Locinfo *this)
DEFINE_THISCALL_WRAPPER(_Locinfo__Gettnames, 4)
_Timevec __thiscall _Locinfo__Gettnames(const _Locinfo *this)
{
- _Timevec ret = { 0 }; /* FIXME */
- FIXME("(%p) stub\n", this);
+ _Timevec ret;
+
+ TRACE("(%p)\n", this);
+
+ _Timevec_ctor_timeptr(&ret, _Gettnames());
return ret;
}
More information about the wine-cvs
mailing list