Piotr Caban : msvcp90: Export locale::facet_Register function.

Alexandre Julliard julliard at winehq.org
Thu Jun 14 15:31:30 CDT 2012


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

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Thu Jun 14 15:36:26 2012 +0200

msvcp90: Export locale::facet_Register function.

---

 dlls/msvcp90/locale.c     |    5 ++++-
 dlls/msvcp90/msvcp90.spec |    2 ++
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/dlls/msvcp90/locale.c b/dlls/msvcp90/locale.c
index 1d04bcb..4ad37e8 100644
--- a/dlls/msvcp90/locale.c
+++ b/dlls/msvcp90/locale.c
@@ -190,7 +190,10 @@ typedef struct
 } facets_elem;
 static struct list lazy_facets = LIST_INIT(lazy_facets);
 
-static void locale_facet_register(locale_facet *add)
+/* Not exported from msvcp90 */
+/* ?facet_Register at facet@locale at std@@CAXPAV123@@Z */
+/* ?facet_Register at facet@locale at std@@CAXPEAV123@@Z */
+void __cdecl locale_facet_register(locale_facet *add)
 {
     facets_elem *head = MSVCRT_operator_new(sizeof(*head));
     if(!head) {
diff --git a/dlls/msvcp90/msvcp90.spec b/dlls/msvcp90/msvcp90.spec
index 6751118..593f3c9 100644
--- a/dlls/msvcp90/msvcp90.spec
+++ b/dlls/msvcp90/msvcp90.spec
@@ -5815,3 +5815,5 @@
 @ thiscall -arch=win32 ?_Tidy@?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@AAEX_N at Z(ptr long) basic_string_char_tidy_built
 @ cdecl -arch=win64 ?_Tidy@?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@AEAAX_N at Z(ptr long) basic_string_char_tidy_built
 @ extern ??_7facet at locale@std@@6B@ MSVCP_locale_facet_vtable
+@ cdecl -arch=win32 ?facet_Register at facet@locale at std@@CAXPAV123@@Z(ptr) locale_facet_register
+@ cdecl -arch=win64 ?facet_Register at facet@locale at std@@CAXPEAV123@@Z(ptr) locale_facet_register




More information about the wine-cvs mailing list