2 * Copyright 2010 Piotr Caban for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
28 #include "wine/debug.h"
29 WINE_DEFAULT_DEBUG_CHANNEL(msvcp90
);
33 typedef struct _locale_id
{
37 typedef struct _locale_facet
{
38 const vtable_ptr
*vtable
;
42 typedef struct _locale__Locimp
{
44 locale_facet
**facetvec
;
45 MSVCP_size_t facet_cnt
;
47 MSVCP_bool transparent
;
48 basic_string_char name
;
57 basic_string_char days
;
58 basic_string_char months
;
59 basic_string_char oldlocname
;
60 basic_string_char newlocname
;
80 /* ?_Id_cnt@id@locale@std@@0HA */
81 int locale_id__Id_cnt
= 0;
83 /* ?_Clocptr@_Locimp@locale@std@@0PAV123@A */
84 /* ?_Clocptr@_Locimp@locale@std@@0PEAV123@EA */
85 locale__Locimp
*locale__Locimp__Clocptr
= NULL
;
87 /* ??1facet@locale@std@@UAE@XZ */
88 /* ??1facet@locale@std@@UEAA@XZ */
89 DEFINE_THISCALL_WRAPPER(locale_facet_dtor
, 4)
90 void __thiscall
locale_facet_dtor(locale_facet
*this)
92 TRACE("(%p)\n", this);
95 DEFINE_THISCALL_WRAPPER(MSVCP_locale_facet_vector_dtor
, 8)
96 locale_facet
* __thiscall
MSVCP_locale_facet_vector_dtor(locale_facet
*this, unsigned int flags
)
98 TRACE("(%p %x)\n", this, flags
);
100 /* we have an array, with the number of elements stored before the first object */
101 int i
, *ptr
= (int *)this-1;
103 for(i
=*ptr
-1; i
>=0; i
--)
104 locale_facet_dtor(this+i
);
105 MSVCRT_operator_delete(ptr
);
107 locale_facet_dtor(this);
109 MSVCRT_operator_delete(this);
115 static const vtable_ptr MSVCP_locale_facet_vtable
[] = {
116 (vtable_ptr
)THISCALL_NAME(MSVCP_locale_facet_vector_dtor
)
119 /* ??0id@locale@std@@QAE@I@Z */
120 /* ??0id@locale@std@@QEAA@_K@Z */
121 DEFINE_THISCALL_WRAPPER(locale_id_ctor_id
, 8)
122 locale_id
* __thiscall
locale_id_ctor_id(locale_id
*this, MSVCP_size_t id
)
124 TRACE("(%p %lu)\n", this, id
);
130 /* ??_Fid@locale@std@@QAEXXZ */
131 /* ??_Fid@locale@std@@QEAAXXZ */
132 DEFINE_THISCALL_WRAPPER(locale_id_ctor
, 4)
133 locale_id
* __thiscall
locale_id_ctor(locale_id
*this)
135 TRACE("(%p)\n", this);
141 /* ??Bid@locale@std@@QAEIXZ */
142 /* ??Bid@locale@std@@QEAA_KXZ */
143 DEFINE_THISCALL_WRAPPER(locale_id_operator_size_t
, 4)
144 MSVCP_size_t __thiscall
locale_id_operator_size_t(locale_id
*this)
148 TRACE("(%p)\n", this);
151 _Lockit_ctor_locktype(&lock
, _LOCK_LOCALE
);
152 this->id
= ++locale_id__Id_cnt
;
159 /* ?_Id_cnt_func@id@locale@std@@CAAAHXZ */
160 /* ?_Id_cnt_func@id@locale@std@@CAAEAHXZ */
161 int* __cdecl
locale_id__Id_cnt_func(void)
164 return &locale_id__Id_cnt
;
167 /* ??_Ffacet@locale@std@@QAEXXZ */
168 /* ??_Ffacet@locale@std@@QEAAXXZ */
169 DEFINE_THISCALL_WRAPPER(locale_facet_ctor
, 4)
170 locale_facet
* __thiscall
locale_facet_ctor(locale_facet
*this)
172 TRACE("(%p)\n", this);
173 this->vtable
= MSVCP_locale_facet_vtable
;
178 /* ??0facet@locale@std@@IAE@I@Z */
179 /* ??0facet@locale@std@@IEAA@_K@Z */
180 DEFINE_THISCALL_WRAPPER(locale_facet_ctor_refs
, 8)
181 locale_facet
* __thiscall
locale_facet_ctor_refs(locale_facet
*this, MSVCP_size_t refs
)
183 TRACE("(%p %lu)\n", this, refs
);
184 this->vtable
= MSVCP_locale_facet_vtable
;
189 /* ?_Incref@facet@locale@std@@QAEXXZ */
190 /* ?_Incref@facet@locale@std@@QEAAXXZ */
191 DEFINE_THISCALL_WRAPPER(locale_facet__Incref
, 4)
192 void __thiscall
locale_facet__Incref(locale_facet
*this)
196 TRACE("(%p)\n", this);
198 _Lockit_ctor_locktype(&lock
, _LOCK_LOCALE
);
203 /* ?_Decref@facet@locale@std@@QAEPAV123@XZ */
204 /* ?_Decref@facet@locale@std@@QEAAPEAV123@XZ */
205 DEFINE_THISCALL_WRAPPER(locale_facet__Decref
, 4)
206 locale_facet
* __thiscall
locale_facet__Decref(locale_facet
*this)
211 TRACE("(%p)\n", this);
213 _Lockit_ctor_locktype(&lock
, _LOCK_LOCALE
);
217 ret
= this->refs
? this : NULL
;
223 /* ?_Getcat@facet@locale@std@@SAIPAPBV123@PBV23@@Z */
224 /* ?_Getcat@facet@locale@std@@SA_KPEAPEBV123@PEBV23@@Z */
225 MSVCP_size_t __cdecl
locale_facet__Getcat(const locale_facet
**facet
, const locale
*loc
)
227 TRACE("(%p %p)\n", facet
, loc
);
231 /* ??_F_Locimp@locale@std@@QAEXXZ */
232 /* ??_F_Locimp@locale@std@@QEAAXXZ */
233 DEFINE_THISCALL_WRAPPER(locale__Locimp_ctor
, 4)
234 locale__Locimp
* __thiscall
locale__Locimp_ctor(locale__Locimp
*this)
236 FIXME("(%p) stub\n", this);
240 /* ??0_Locimp@locale@std@@AAE@_N@Z */
241 /* ??0_Locimp@locale@std@@AEAA@_N@Z */
242 DEFINE_THISCALL_WRAPPER(locale__Locimp_ctor_transparent
, 8)
243 locale__Locimp
* __thiscall
locale__Locimp_ctor_transparent(locale__Locimp
*this, MSVCP_bool transparent
)
245 FIXME("(%p %d) stub\n", this, transparent
);
249 /* ??0_Locimp@locale@std@@AAE@ABV012@@Z */
250 /* ??0_Locimp@locale@std@@AEAA@AEBV012@@Z */
251 DEFINE_THISCALL_WRAPPER(locale__Locimp_copy_ctor
, 8)
252 locale__Locimp
* __thiscall
locale__Locimp_copy_ctor(locale__Locimp
*this, const locale__Locimp
*copy
)
254 FIXME("(%p %p) stub\n", this, copy
);
258 /* ?_Locimp_ctor@_Locimp@locale@std@@CAXPAV123@ABV123@@Z */
259 /* ?_Locimp_ctor@_Locimp@locale@std@@CAXPEAV123@AEBV123@@Z */
260 locale__Locimp
* __cdecl
locale__Locimp__Locimp_ctor(locale__Locimp
*this, const locale__Locimp
*copy
)
262 FIXME("(%p %p) stub\n", this, copy
);
266 /* ??1_Locimp@locale@std@@MAE@XZ */
267 /* ??1_Locimp@locale@std@@MEAA@XZ */
268 DEFINE_THISCALL_WRAPPER(locale__Locimp_dtor
, 4)
269 void __thiscall
locale__Locimp_dtor(locale__Locimp
*this)
271 FIXME("(%p) stub\n", this);
274 /* ?_Locimp_dtor@_Locimp@locale@std@@CAXPAV123@@Z */
275 /* ?_Locimp_dtor@_Locimp@locale@std@@CAXPEAV123@@Z */
276 void __cdecl
locale__Locimp__Locimp_dtor(locale__Locimp
*this)
278 FIXME("(%p) stub\n", this);
281 DEFINE_THISCALL_WRAPPER(MSVCP_locale__Locimp_vector_dtor
, 8)
282 locale__Locimp
* __thiscall
MSVCP_locale__Locimp_vector_dtor(locale__Locimp
*this, unsigned int flags
)
284 TRACE("(%p %x) stub\n", this, flags
);
286 /* we have an array, with the number of elements stored before the first object */
287 int i
, *ptr
= (int *)this-1;
289 for(i
=*ptr
-1; i
>=0; i
--)
290 locale__Locimp_dtor(this+i
);
291 MSVCRT_operator_delete(ptr
);
293 locale__Locimp_dtor(this);
295 MSVCRT_operator_delete(this);
301 /* ?_Locimp_Addfac@_Locimp@locale@std@@CAXPAV123@PAVfacet@23@I@Z */
302 /* ?_Locimp_Addfac@_Locimp@locale@std@@CAXPEAV123@PEAVfacet@23@_K@Z */
303 void __cdecl
locale__Locimp__Locimp_Addfac(locale__Locimp
*locimp
, locale_facet
*facet
, MSVCP_size_t id
)
305 FIXME("(%p %p %lu) stub\n", locimp
, facet
, id
);
308 /* ?_Addfac@_Locimp@locale@std@@AAEXPAVfacet@23@I@Z */
309 /* ?_Addfac@_Locimp@locale@std@@AEAAXPEAVfacet@23@_K@Z */
310 DEFINE_THISCALL_WRAPPER(locale__Locimp__Addfac
, 12)
311 void __thiscall
locale__Locimp__Addfac(locale__Locimp
*this, locale_facet
*facet
, MSVCP_size_t id
)
313 FIXME("(%p %p %lu) stub\n", this, facet
, id
);
316 /* ?_Clocptr_func@_Locimp@locale@std@@CAAAPAV123@XZ */
317 /* ?_Clocptr_func@_Locimp@locale@std@@CAAEAPEAV123@XZ */
318 locale__Locimp
** __cdecl
locale__Locimp__Clocptr_func(void)
324 /* ?_Makeloc@_Locimp@locale@std@@CAPAV123@ABV_Locinfo@3@HPAV123@PBV23@@Z */
325 /* ?_Makeloc@_Locimp@locale@std@@CAPEAV123@AEBV_Locinfo@3@HPEAV123@PEBV23@@Z */
326 locale__Locimp
* __cdecl
locale__Locimp__Makeloc(const _Locinfo
*locinfo
, category cat
, locale__Locimp
*locimp
, const locale
*loc
)
328 FIXME("(%p %d %p %p) stub\n", locinfo
, cat
, locimp
, loc
);
332 /* ?_Makeushloc@_Locimp@locale@std@@CAXABV_Locinfo@3@HPAV123@PBV23@@Z */
333 /* ?_Makeushloc@_Locimp@locale@std@@CAXAEBV_Locinfo@3@HPEAV123@PEBV23@@Z */
334 void __cdecl
locale__Locimp__Makeushloc(const _Locinfo
*locinfo
, category cat
, locale__Locimp
*locimp
, const locale
*loc
)
336 FIXME("(%p %d %p %p) stub\n", locinfo
, cat
, locimp
, loc
);
339 /* ?_Makewloc@_Locimp@locale@std@@CAXABV_Locinfo@3@HPAV123@PBV23@@Z */
340 /* ?_Makewloc@_Locimp@locale@std@@CAXAEBV_Locinfo@3@HPEAV123@PEBV23@@Z */
341 void __cdecl
locale__Locimp__Makewloc(const _Locinfo
*locinfo
, category cat
, locale__Locimp
*locimp
, const locale
*loc
)
343 FIXME("(%p %d %p %p) stub\n", locinfo
, cat
, locimp
, loc
);
346 /* ?_Makexloc@_Locimp@locale@std@@CAXABV_Locinfo@3@HPAV123@PBV23@@Z */
347 /* ?_Makexloc@_Locimp@locale@std@@CAXAEBV_Locinfo@3@HPEAV123@PEBV23@@Z */
348 void __cdecl
locale__Locimp__Makexloc(const _Locinfo
*locinfo
, category cat
, locale__Locimp
*locimp
, const locale
*loc
)
350 FIXME("(%p %d %p %p) stub\n", locinfo
, cat
, locimp
, loc
);
353 /* ??_7_Locimp@locale@std@@6B@ */
354 const vtable_ptr MSVCP_locale__Locimp_vtable
[] = {
355 (vtable_ptr
)THISCALL_NAME(MSVCP_locale__Locimp_vector_dtor
)
358 /* ??0locale@std@@AAE@PAV_Locimp@01@@Z */
359 /* ??0locale@std@@AEAA@PEAV_Locimp@01@@Z */
360 DEFINE_THISCALL_WRAPPER(locale_ctor_locimp
, 8)
361 locale
* __thiscall
locale_ctor_locimp(locale
*this, locale__Locimp
*locimp
)
363 FIXME("(%p %p) stub\n", this, locimp
);
367 /* ??0locale@std@@QAE@ABV01@0H@Z */
368 /* ??0locale@std@@QEAA@AEBV01@0H@Z */
369 DEFINE_THISCALL_WRAPPER(locale_ctor_locale_locale
, 16)
370 locale
* __thiscall
locale_ctor_locale_locale(locale
*this, const locale
*loc
, const locale
*other
, category cat
)
372 FIXME("(%p %p %p %d) stub\n", this, loc
, other
, cat
);
376 /* ??0locale@std@@QAE@ABV01@@Z */
377 /* ??0locale@std@@QEAA@AEBV01@@Z */
378 DEFINE_THISCALL_WRAPPER(locale_copy_ctor
, 8)
379 locale
* __thiscall
locale_copy_ctor(locale
*this, const locale
*copy
)
381 FIXME("(%p %p) stub\n", this, copy
);
385 /* ??0locale@std@@QAE@ABV01@PBDH@Z */
386 /* ??0locale@std@@QEAA@AEBV01@PEBDH@Z */
387 DEFINE_THISCALL_WRAPPER(locale_ctor_locale_cstr
, 16)
388 locale
* __thiscall
locale_ctor_locale_cstr(locale
*this, const locale
*loc
, const char *locname
, category cat
)
390 FIXME("(%p %p %s %d) stub\n", this, loc
, locname
, cat
);
394 /* ??0locale@std@@QAE@PBDH@Z */
395 /* ??0locale@std@@QEAA@PEBDH@Z */
396 DEFINE_THISCALL_WRAPPER(locale_ctor_cstr
, 12)
397 locale
* __thiscall
locale_ctor_cstr(locale
*this, const char *locname
, category cat
)
399 FIXME("(%p %s %d) stub\n", this, locname
, cat
);
403 /* ??0locale@std@@QAE@W4_Uninitialized@1@@Z */
404 /* ??0locale@std@@QEAA@W4_Uninitialized@1@@Z */
405 DEFINE_THISCALL_WRAPPER(locale_ctor_uninitialized
, 8)
406 locale
* __thiscall
locale_ctor_uninitialized(locale
*this, int uninitialized
)
408 FIXME("(%p %d) stub\n", this, uninitialized
);
412 /* ??0locale@std@@QAE@XZ */
413 /* ??0locale@std@@QEAA@XZ */
414 DEFINE_THISCALL_WRAPPER(locale_ctor
, 4)
415 locale
* __thiscall
locale_ctor(locale
*this)
417 FIXME("(%p) stub\n", this);
421 /* ??1locale@std@@QAE@XZ */
422 /* ??1locale@std@@QEAA@XZ */
423 DEFINE_THISCALL_WRAPPER(locale_dtor
, 4)
424 void __thiscall
locale_dtor(locale
*this)
426 FIXME("(%p) stub\n", this);
429 DEFINE_THISCALL_WRAPPER(MSVCP_locale_vector_dtor
, 8)
430 locale
* __thiscall
MSVCP_locale_vector_dtor(locale
*this, unsigned int flags
)
432 TRACE("(%p %x) stub\n", this, flags
);
434 /* we have an array, with the number of elements stored before the first object */
435 int i
, *ptr
= (int *)this-1;
437 for(i
=*ptr
-1; i
>=0; i
--)
439 MSVCRT_operator_delete(ptr
);
443 MSVCRT_operator_delete(this);
449 /* ??4locale@std@@QAEAAV01@ABV01@@Z */
450 /* ??4locale@std@@QEAAAEAV01@AEBV01@@Z */
451 DEFINE_THISCALL_WRAPPER(locale_operator_assign
, 8)
452 locale
* __thiscall
locale_operator_assign(locale
*this, const locale
*loc
)
454 FIXME("(%p %p) stub\n", this, loc
);
458 /* ??8locale@std@@QBE_NABV01@@Z */
459 /* ??8locale@std@@QEBA_NAEBV01@@Z */
460 DEFINE_THISCALL_WRAPPER(locale_operator_equal
, 8)
461 MSVCP_bool __thiscall
locale_operator_equal(const locale
*this, const locale
*loc
)
463 FIXME("(%p %p) stub\n", this, loc
);
467 /* ??9locale@std@@QBE_NABV01@@Z */
468 /* ??9locale@std@@QEBA_NAEBV01@@Z */
469 DEFINE_THISCALL_WRAPPER(locale_operator_not_equal
, 8)
470 MSVCP_bool __thiscall
locale_operator_not_equal(const locale
*this, locale
const *loc
)
472 FIXME("(%p %p) stub\n", this, loc
);
476 /* ?_Addfac@locale@std@@QAEAAV12@PAVfacet@12@II@Z */
477 /* ?_Addfac@locale@std@@QEAAAEAV12@PEAVfacet@12@_K1@Z */
478 DEFINE_THISCALL_WRAPPER(locale__Addfac
, 16)
479 locale
* __thiscall
locale__Addfac(locale
*this, locale_facet
*facet
, MSVCP_size_t id
, MSVCP_size_t catmask
)
481 FIXME("(%p %p %lu %lu) stub\n", this, facet
, id
, catmask
);
485 /* ?_Getfacet@locale@std@@QBEPBVfacet@12@I@Z */
486 /* ?_Getfacet@locale@std@@QEBAPEBVfacet@12@_K@Z */
487 DEFINE_THISCALL_WRAPPER(locale__Getfacet
, 8)
488 const locale_facet
* __thiscall
locale__Getfacet(const locale
*this, MSVCP_size_t id
)
490 FIXME("(%p %lu) stub\n", this, id
);
494 /* ?_Init@locale@std@@CAPAV_Locimp@12@XZ */
495 /* ?_Init@locale@std@@CAPEAV_Locimp@12@XZ */
496 locale__Locimp
* __cdecl
locale__Init(void)
502 /* ?_Getgloballocale@locale@std@@CAPAV_Locimp@12@XZ */
503 /* ?_Getgloballocale@locale@std@@CAPEAV_Locimp@12@XZ */
504 locale__Locimp
* __cdecl
locale__Getgloballocale(void)
510 /* ?_Setgloballocale@locale@std@@CAXPAX@Z */
511 /* ?_Setgloballocale@locale@std@@CAXPEAX@Z */
512 void __cdecl
locale__Setgloballocale(void *locimp
)
514 FIXME("(%p) stub\n", locimp
);
517 /* ?classic@locale@std@@SAABV12@XZ */
518 /* ?classic@locale@std@@SAAEBV12@XZ */
519 const locale
* __cdecl
locale_classic(void)
525 /* ?name@locale@std@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@XZ */
526 /* ?name@locale@std@@QEBA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@XZ */
527 DEFINE_THISCALL_WRAPPER_RETPTR(locale_name
, 4)
528 basic_string_char __thiscall
locale_name(const locale
*this)
530 basic_string_char ret
= { 0 }; /* FIXME */
531 FIXME( "(%p) stub\n", this);
535 /* ??0_Timevec@std@@QAE@ABV01@@Z */
536 /* ??0_Timevec@std@@QEAA@AEBV01@@Z */
537 DEFINE_THISCALL_WRAPPER(_Timevec_copy_ctor
, 8)
538 _Timevec
* __thiscall
_Timevec_copy_ctor(_Timevec
*this, const _Timevec
*copy
)
540 FIXME("(%p %p) stub\n", this, copy
);
544 /* ??0_Timevec@std@@QAE@PAX@Z */
545 /* ??0_Timevec@std@@QEAA@PEAX@Z */
546 DEFINE_THISCALL_WRAPPER(_Timevec_ctor_timeptr
, 8)
547 _Timevec
* __thiscall
_Timevec_ctor_timeptr(_Timevec
*this, void *timeptr
)
549 FIXME("(%p %p) stub\n", this, timeptr
);
553 /* ??_F_Timevec@std@@QAEXXZ */
554 /* ??_F_Timevec@std@@QEAAXXZ */
555 DEFINE_THISCALL_WRAPPER(_Timevec_ctor
, 4)
556 _Timevec
* __thiscall
_Timevec_ctor(_Timevec
*this)
558 FIXME("(%p) stub\n", this);
562 /* ??1_Timevec@std@@QAE@XZ */
563 /* ??1_Timevec@std@@QEAA@XZ */
564 DEFINE_THISCALL_WRAPPER(_Timevec_dtor
, 4)
565 void __thiscall
_Timevec_dtor(_Timevec
*this)
567 FIXME("(%p) stub\n", this);
570 /* ??4_Timevec@std@@QAEAAV01@ABV01@@Z */
571 /* ??4_Timevec@std@@QEAAAEAV01@AEBV01@@Z */
572 DEFINE_THISCALL_WRAPPER(_Timevec_op_assign
, 8)
573 _Timevec
* __thiscall
_Timevec_op_assign(_Timevec
*this, _Timevec
*right
)
575 FIXME("(%p %p) stub\n", this, right
);
579 /* ?_Getptr@_Timevec@std@@QBEPAXXZ */
580 /* ?_Getptr@_Timevec@std@@QEBAPEAXXZ */
581 DEFINE_THISCALL_WRAPPER(_Timevec__Getptr
, 4)
582 void* __thiscall
_Timevec__Getptr(_Timevec
*this)
584 FIXME("(%p) stub\n", this);
588 /* ?_Locinfo_ctor@_Locinfo@std@@SAXPAV12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z */
589 /* ?_Locinfo_ctor@_Locinfo@std@@SAXPEAV12@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z */
590 _Locinfo
* __cdecl
_Locinfo__Locinfo_ctor_bstr(_Locinfo
*locinfo
, const basic_string_char
*locstr
)
592 FIXME("(%p %p) stub\n", locinfo
, locstr
);
596 /* ??0_Locinfo@std@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@@Z */
597 /* ??0_Locinfo@std@@QEAA@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@@Z */
598 DEFINE_THISCALL_WRAPPER(_Locinfo_ctor_bstr
, 8)
599 _Locinfo
* __thiscall
_Locinfo_ctor_bstr(_Locinfo
*this, const basic_string_char
*locstr
)
601 FIXME("(%p %p) stub\n", this, locstr
);
605 /* ?_Locinfo_ctor@_Locinfo@std@@SAXPAV12@HPBD@Z */
606 /* ?_Locinfo_ctor@_Locinfo@std@@SAXPEAV12@HPEBD@Z */
607 _Locinfo
* __cdecl
_Locinfo__Locinfo_ctor_cat_cstr(_Locinfo
*locinfo
, int category
, const char *locstr
)
609 FIXME("(%p %d %s) stub\n", locinfo
, category
, locstr
);
613 /* ??0_Locinfo@std@@QAE@HPBD@Z */
614 /* ??0_Locinfo@std@@QEAA@HPEBD@Z */
615 DEFINE_THISCALL_WRAPPER(_Locinfo_ctor_cat_cstr
, 12)
616 _Locinfo
* __thiscall
_Locinfo_ctor_cat_cstr(_Locinfo
*this, int category
, const char *locstr
)
618 FIXME("(%p %d %s) stub\n", this, category
, locstr
);
622 /* ?_Locinfo_ctor@_Locinfo@std@@SAXPAV12@PBD@Z */
623 /* ?_Locinfo_ctor@_Locinfo@std@@SAXPEAV12@PEBD@Z */
624 _Locinfo
* __cdecl
_Locinfo__Locinfo_ctor_cstr(_Locinfo
*locinfo
, const char *locstr
)
626 FIXME("(%p %s) stub\n", locinfo
, locstr
);
630 /* ??0_Locinfo@std@@QAE@PBD@Z */
631 /* ??0_Locinfo@std@@QEAA@PEBD@Z */
632 DEFINE_THISCALL_WRAPPER(_Locinfo_ctor_cstr
, 8)
633 _Locinfo
* __thiscall
_Locinfo_ctor_cstr(_Locinfo
*this, const char *locstr
)
635 FIXME("(%p %s) stub\n", this, locstr
);
639 /* ?_Locinfo_dtor@_Locinfo@std@@SAXPAV12@@Z */
640 /* ?_Locinfo_dtor@_Locinfo@std@@SAXPEAV12@@Z */
641 _Locinfo
* __cdecl
_Locinfo__Locinfo_dtor(_Locinfo
*locinfo
)
643 FIXME("(%p) stub\n", locinfo
);
647 /* ??_F_Locinfo@std@@QAEXXZ */
648 /* ??_F_Locinfo@std@@QEAAXXZ */
649 DEFINE_THISCALL_WRAPPER(_Locinfo_ctor
, 4)
650 _Locinfo
* __thiscall
_Locinfo_ctor(_Locinfo
*this)
652 FIXME("(%p) stub\n", this);
656 /* ??1_Locinfo@std@@QAE@XZ */
657 /* ??1_Locinfo@std@@QEAA@XZ */
658 DEFINE_THISCALL_WRAPPER(_Locinfo_dtor
, 4)
659 void __thiscall
_Locinfo_dtor(_Locinfo
*this)
661 FIXME("(%p) stub\n", this);
664 /* ?_Locinfo_Addcats@_Locinfo@std@@SAAAV12@PAV12@HPBD@Z */
665 /* ?_Locinfo_Addcats@_Locinfo@std@@SAAEAV12@PEAV12@HPEBD@Z */
666 _Locinfo
* __cdecl
_Locinfo__Locinfo_Addcats(_Locinfo
*locinfo
, int category
, const char *locstr
)
668 FIXME("%p %d %s) stub\n", locinfo
, category
, locstr
);
672 /* ?_Addcats@_Locinfo@std@@QAEAAV12@HPBD@Z */
673 /* ?_Addcats@_Locinfo@std@@QEAAAEAV12@HPEBD@Z */
674 DEFINE_THISCALL_WRAPPER(_Locinfo__Addcats
, 12)
675 _Locinfo
* __thiscall
_Locinfo__Addcats(_Locinfo
*this, int category
, const char *locstr
)
677 FIXME("(%p %d %s) stub\n", this, category
, locstr
);
681 /* ?_Getcoll@_Locinfo@std@@QBE?AU_Collvec@@XZ */
682 /* ?_Getcoll@_Locinfo@std@@QEBA?AU_Collvec@@XZ */
683 DEFINE_THISCALL_WRAPPER(_Locinfo__Getcoll
, 4)
684 _Collvec __thiscall
_Locinfo__Getcoll(const _Locinfo
*this)
686 _Collvec ret
= { 0 }; /* FIXME */
687 FIXME("(%p) stub\n", this);
691 /* ?_Getctype@_Locinfo@std@@QBE?AU_Ctypevec@@XZ */
692 /* ?_Getctype@_Locinfo@std@@QEBA?AU_Ctypevec@@XZ */
693 DEFINE_THISCALL_WRAPPER_RETPTR(_Locinfo__Getctype
, 4)
694 _Ctypevec __thiscall
_Locinfo__Getctype(const _Locinfo
*this)
696 _Ctypevec ret
= { 0 }; /* FIXME */
697 FIXME("(%p) stub\n", this);
701 /* ?_Getcvt@_Locinfo@std@@QBE?AU_Cvtvec@@XZ */
702 /* ?_Getcvt@_Locinfo@std@@QEBA?AU_Cvtvec@@XZ */
703 DEFINE_THISCALL_WRAPPER(_Locinfo__Getcvt
, 4)
704 _Cvtvec __thiscall
_Locinfo__Getcvt(const _Locinfo
*this)
706 _Cvtvec ret
= { 0 }; /* FIXME */
707 FIXME("(%p) stub\n", this);
711 /* ?_Getdateorder@_Locinfo@std@@QBEHXZ */
712 /* ?_Getdateorder@_Locinfo@std@@QEBAHXZ */
713 DEFINE_THISCALL_WRAPPER(_Locinfo__Getdateorder
, 4)
714 int __thiscall
_Locinfo__Getdateorder(const _Locinfo
*this)
716 FIXME("(%p) stub\n", this);
720 /* ?_Getdays@_Locinfo@std@@QBEPBDXZ */
721 /* ?_Getdays@_Locinfo@std@@QEBAPEBDXZ */
722 DEFINE_THISCALL_WRAPPER(_Locinfo__Getdays
, 4)
723 const char* __thiscall
_Locinfo__Getdays(const _Locinfo
*this)
725 FIXME("(%p) stub\n", this);
729 /* ?_Getmonths@_Locinfo@std@@QBEPBDXZ */
730 /* ?_Getmonths@_Locinfo@std@@QEBAPEBDXZ */
731 DEFINE_THISCALL_WRAPPER(_Locinfo__Getmonths
, 4)
732 const char* __thiscall
_Locinfo__Getmonths(const _Locinfo
*this)
734 FIXME("(%p) stub\n", this);
738 /* ?_Getfalse@_Locinfo@std@@QBEPBDXZ */
739 /* ?_Getfalse@_Locinfo@std@@QEBAPEBDXZ */
740 DEFINE_THISCALL_WRAPPER(_Locinfo__Getfalse
, 4)
741 const char* __thiscall
_Locinfo__Getfalse(const _Locinfo
*this)
743 FIXME("(%p) stub\n", this);
747 /* ?_Gettrue@_Locinfo@std@@QBEPBDXZ */
748 /* ?_Gettrue@_Locinfo@std@@QEBAPEBDXZ */
749 DEFINE_THISCALL_WRAPPER(_Locinfo__Gettrue
, 4)
750 const char* __thiscall
_Locinfo__Gettrue(const _Locinfo
*this)
752 FIXME("(%p) stub\n", this);
756 /* ?_Getlconv@_Locinfo@std@@QBEPBUlconv@@XZ */
757 /* ?_Getlconv@_Locinfo@std@@QEBAPEBUlconv@@XZ */
758 DEFINE_THISCALL_WRAPPER(_Locinfo__Getlconv
, 4)
759 const struct lconv
* __thiscall
_Locinfo__Getlconv(const _Locinfo
*this)
761 FIXME("(%p) stub\n", this);
765 /* ?_Getname@_Locinfo@std@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@XZ */
766 /* ?_Getname@_Locinfo@std@@QEBA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@XZ */
767 DEFINE_THISCALL_WRAPPER_RETPTR(_Locinfo__Getname
, 4)
768 basic_string_char __thiscall
_Locinfo__Getname(const _Locinfo
*this)
770 basic_string_char ret
= { 0 }; /* FIXME */
771 FIXME("(%p) stub\n", this);
775 /* ?_Gettnames@_Locinfo@std@@QBE?AV_Timevec@2@XZ */
776 /* ?_Gettnames@_Locinfo@std@@QEBA?AV_Timevec@2@XZ */
777 DEFINE_THISCALL_WRAPPER(_Locinfo__Gettnames
, 4)
778 _Timevec __thiscall
_Locinfo__Gettnames(const _Locinfo
*this)
780 _Timevec ret
= { 0 }; /* FIXME */
781 FIXME("(%p) stub\n", this);