Alexandre Julliard : msvcp90: Add separate entry points for functions with different calling conventions .

Alexandre Julliard julliard at winehq.org
Wed Aug 24 14:05:31 CDT 2011


Module: wine
Branch: master
Commit: 43d9122e3c043601e21adb2c814ec8afb98a92ed
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=43d9122e3c043601e21adb2c814ec8afb98a92ed

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Aug 24 19:33:30 2011 +0200

msvcp90: Add separate entry points for functions with different calling conventions.

---

 dlls/msvcp90/locale.c     |   19 +++++++++++++++----
 dlls/msvcp90/msvcp90.spec |    8 ++++----
 2 files changed, 19 insertions(+), 8 deletions(-)

diff --git a/dlls/msvcp90/locale.c b/dlls/msvcp90/locale.c
index 768cc51..c838744 100644
--- a/dlls/msvcp90/locale.c
+++ b/dlls/msvcp90/locale.c
@@ -250,8 +250,6 @@ locale__Locimp* __thiscall locale__Locimp_ctor_transparent(locale__Locimp *this,
 
 /* ??0_Locimp at locale@std@@AAE at ABV012@@Z */
 /* ??0_Locimp at locale@std@@AEAA at AEBV012@@Z */
-/* ?_Locimp_ctor at _Locimp@locale at std@@CAXPAV123 at ABV123@@Z */
-/* ?_Locimp_ctor at _Locimp@locale at std@@CAXPEAV123 at AEBV123@@Z */
 DEFINE_THISCALL_WRAPPER(locale__Locimp_copy_ctor, 8)
 locale__Locimp* __thiscall locale__Locimp_copy_ctor(locale__Locimp *this, const locale__Locimp *copy)
 {
@@ -259,16 +257,29 @@ locale__Locimp* __thiscall locale__Locimp_copy_ctor(locale__Locimp *this, const
     return NULL;
 }
 
+/* ?_Locimp_ctor at _Locimp@locale at std@@CAXPAV123 at ABV123@@Z */
+/* ?_Locimp_ctor at _Locimp@locale at std@@CAXPEAV123 at AEBV123@@Z */
+locale__Locimp* __cdecl locale__Locimp__Locimp_ctor(locale__Locimp *this, const locale__Locimp *copy)
+{
+    FIXME("(%p %p) stub\n", this, copy);
+    return NULL;
+}
+
 /* ??1_Locimp at locale@std@@MAE at XZ */
 /* ??1_Locimp at locale@std@@MEAA at XZ */
-/* ?_Locimp_dtor at _Locimp@locale at std@@CAXPAV123@@Z */
-/* ?_Locimp_dtor at _Locimp@locale at std@@CAXPEAV123@@Z */
 DEFINE_THISCALL_WRAPPER(locale__Locimp_dtor, 4)
 void __thiscall locale__Locimp_dtor(locale__Locimp *this)
 {
     FIXME("(%p) stub\n", this);
 }
 
+/* ?_Locimp_dtor at _Locimp@locale at std@@CAXPAV123@@Z */
+/* ?_Locimp_dtor at _Locimp@locale at std@@CAXPEAV123@@Z */
+void __cdecl locale__Locimp__Locimp_dtor(locale__Locimp *this)
+{
+    FIXME("(%p) stub\n", this);
+}
+
 DEFINE_THISCALL_WRAPPER(MSVCP_locale__Locimp_vector_dtor, 8)
 locale__Locimp* __thiscall MSVCP_locale__Locimp_vector_dtor(locale__Locimp *this, unsigned int flags)
 {
diff --git a/dlls/msvcp90/msvcp90.spec b/dlls/msvcp90/msvcp90.spec
index 2f9079c..f3062cd 100644
--- a/dlls/msvcp90/msvcp90.spec
+++ b/dlls/msvcp90/msvcp90.spec
@@ -2577,10 +2577,10 @@
 @ stub ?_Isnan@?$_Ctraits at O@std@@SA_NO at Z
 @ cdecl -arch=win32 ?_Locimp_Addfac at _Locimp@locale at std@@CAXPAV123 at PAVfacet@23 at I@Z(ptr ptr long) locale__Locimp__Locimp_Addfac
 @ cdecl -arch=win64 ?_Locimp_Addfac at _Locimp@locale at std@@CAXPEAV123 at PEAVfacet@23 at _K@Z(ptr ptr long) locale__Locimp__Locimp_Addfac
-@ cdecl -arch=win32 ?_Locimp_ctor at _Locimp@locale at std@@CAXPAV123 at ABV123@@Z(ptr ptr) locale__Locimp_copy_ctor
-@ cdecl -arch=win64 ?_Locimp_ctor at _Locimp@locale at std@@CAXPEAV123 at AEBV123@@Z(ptr ptr) locale__Locimp_copy_ctor
-@ cdecl -arch=win32 ?_Locimp_dtor at _Locimp@locale at std@@CAXPAV123@@Z(ptr) locale__Locimp_dtor
-@ cdecl -arch=win64 ?_Locimp_dtor at _Locimp@locale at std@@CAXPEAV123@@Z(ptr) locale__Locimp_dtor
+@ cdecl -arch=win32 ?_Locimp_ctor at _Locimp@locale at std@@CAXPAV123 at ABV123@@Z(ptr ptr) locale__Locimp__Locimp_ctor
+@ cdecl -arch=win64 ?_Locimp_ctor at _Locimp@locale at std@@CAXPEAV123 at AEBV123@@Z(ptr ptr) locale__Locimp__Locimp_ctor
+@ cdecl -arch=win32 ?_Locimp_dtor at _Locimp@locale at std@@CAXPAV123@@Z(ptr) locale__Locimp__Locimp_dtor
+@ cdecl -arch=win64 ?_Locimp_dtor at _Locimp@locale at std@@CAXPEAV123@@Z(ptr) locale__Locimp__Locimp_dtor
 @ cdecl -arch=win32 ?_Locinfo_Addcats at _Locinfo@std@@SAAAV12 at PAV12@HPBD at Z(ptr long str) _Locinfo__Locinfo_Addcats
 @ cdecl -arch=win64 ?_Locinfo_Addcats at _Locinfo@std@@SAAEAV12 at PEAV12@HPEBD at Z(ptr long str) _Locinfo__Locinfo_Addcats
 @ cdecl -arch=win32 ?_Locinfo_ctor at _Locinfo@std@@SAXPAV12 at ABV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@2@@Z(ptr ptr) _Locinfo__Locinfo_ctor_bstr




More information about the wine-cvs mailing list