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 static const vtable_ptr MSVCP_locale_facet_vtable
[];
89 /* ??0id@locale@std@@QAE@I@Z */
90 /* ??0id@locale@std@@QEAA@_K@Z */
91 DEFINE_THISCALL_WRAPPER(locale_id_ctor_id
, 8)
92 locale_id
* __thiscall
locale_id_ctor_id(locale_id
*this, MSVCP_size_t id
)
94 TRACE("(%p %lu)\n", this, id
);
100 /* ??_Fid@locale@std@@QAEXXZ */
101 /* ??_Fid@locale@std@@QEAAXXZ */
102 DEFINE_THISCALL_WRAPPER(locale_id_ctor
, 4)
103 locale_id
* __thiscall
locale_id_ctor(locale_id
*this)
105 TRACE("(%p)\n", this);
111 /* ??Bid@locale@std@@QAEIXZ */
112 /* ??Bid@locale@std@@QEAA_KXZ */
113 DEFINE_THISCALL_WRAPPER(locale_id_operator_size_t
, 4)
114 MSVCP_size_t __thiscall
locale_id_operator_size_t(locale_id
*this)
118 TRACE("(%p)\n", this);
121 _Lockit_ctor_locktype(&lock
, _LOCK_LOCALE
);
122 this->id
= ++locale_id__Id_cnt
;
129 /* ?_Id_cnt_func@id@locale@std@@CAAAHXZ */
130 /* ?_Id_cnt_func@id@locale@std@@CAAEAHXZ */
131 int* __cdecl
locale_id__Id_cnt_func(void)
134 return &locale_id__Id_cnt
;
137 /* ??_Ffacet@locale@std@@QAEXXZ */
138 /* ??_Ffacet@locale@std@@QEAAXXZ */
139 DEFINE_THISCALL_WRAPPER(locale_facet_ctor
, 4)
140 locale_facet
* __thiscall
locale_facet_ctor(locale_facet
*this)
142 TRACE("(%p)\n", this);
143 this->vtable
= MSVCP_locale_facet_vtable
;
148 /* ??0facet@locale@std@@IAE@I@Z */
149 /* ??0facet@locale@std@@IEAA@_K@Z */
150 DEFINE_THISCALL_WRAPPER(locale_facet_ctor_refs
, 8)
151 locale_facet
* __thiscall
locale_facet_ctor_refs(locale_facet
*this, MSVCP_size_t refs
)
153 TRACE("(%p %lu)\n", this, refs
);
154 this->vtable
= MSVCP_locale_facet_vtable
;
159 /* ??1facet@locale@std@@UAE@XZ */
160 /* ??1facet@locale@std@@UEAA@XZ */
161 DEFINE_THISCALL_WRAPPER(locale_facet_dtor
, 4)
162 void __thiscall
locale_facet_dtor(locale_facet
*this)
164 TRACE("(%p)\n", this);
167 DEFINE_THISCALL_WRAPPER(MSVCP_locale_facet_vector_dtor
, 8)
168 locale_facet
* __thiscall
MSVCP_locale_facet_vector_dtor(locale_facet
*this, unsigned int flags
)
170 TRACE("(%p %x)\n", this, flags
);
172 /* we have an array, with the number of elements stored before the first object */
173 int i
, *ptr
= (int *)this-1;
175 for(i
=*ptr
-1; i
>=0; i
--)
176 locale_facet_dtor(this+i
);
177 MSVCRT_operator_delete(ptr
);
179 locale_facet_dtor(this);
181 MSVCRT_operator_delete(this);
187 /* ?_Incref@facet@locale@std@@QAEXXZ */
188 /* ?_Incref@facet@locale@std@@QEAAXXZ */
189 DEFINE_THISCALL_WRAPPER(locale_facet__Incref
, 4)
190 void __thiscall
locale_facet__Incref(locale_facet
*this)
194 TRACE("(%p)\n", this);
196 _Lockit_ctor_locktype(&lock
, _LOCK_LOCALE
);
201 /* ?_Decref@facet@locale@std@@QAEPAV123@XZ */
202 /* ?_Decref@facet@locale@std@@QEAAPEAV123@XZ */
203 DEFINE_THISCALL_WRAPPER(locale_facet__Decref
, 4)
204 locale_facet
* __thiscall
locale_facet__Decref(locale_facet
*this)
209 TRACE("(%p)\n", this);
211 _Lockit_ctor_locktype(&lock
, _LOCK_LOCALE
);
215 ret
= this->refs
? this : NULL
;
221 /* ?_Getcat@facet@locale@std@@SAIPAPBV123@PBV23@@Z */
222 /* ?_Getcat@facet@locale@std@@SA_KPEAPEBV123@PEBV23@@Z */
223 MSVCP_size_t __cdecl
locale_facet__Getcat(const locale_facet
**facet
, const locale
*loc
)
225 TRACE("(%p %p)\n", facet
, loc
);
229 static const vtable_ptr MSVCP_locale_facet_vtable
[] = {
230 (vtable_ptr
)THISCALL_NAME(MSVCP_locale_facet_vector_dtor
)
233 /* ??_F_Locimp@locale@std@@QAEXXZ */
234 /* ??_F_Locimp@locale@std@@QEAAXXZ */
235 DEFINE_THISCALL_WRAPPER(locale__Locimp_ctor
, 4)
236 locale__Locimp
* __thiscall
locale__Locimp_ctor(locale__Locimp
*this)
238 FIXME("(%p) stub\n", this);
242 /* ??0_Locimp@locale@std@@AAE@_N@Z */
243 /* ??0_Locimp@locale@std@@AEAA@_N@Z */
244 DEFINE_THISCALL_WRAPPER(locale__Locimp_ctor_transparent
, 8)
245 locale__Locimp
* __thiscall
locale__Locimp_ctor_transparent(locale__Locimp
*this, MSVCP_bool transparent
)
247 FIXME("(%p %d) stub\n", this, transparent
);
251 /* ??0_Locimp@locale@std@@AAE@ABV012@@Z */
252 /* ??0_Locimp@locale@std@@AEAA@AEBV012@@Z */
253 DEFINE_THISCALL_WRAPPER(locale__Locimp_copy_ctor
, 8)
254 locale__Locimp
* __thiscall
locale__Locimp_copy_ctor(locale__Locimp
*this, const locale__Locimp
*copy
)
256 FIXME("(%p %p) stub\n", this, copy
);
260 /* ?_Locimp_ctor@_Locimp@locale@std@@CAXPAV123@ABV123@@Z */
261 /* ?_Locimp_ctor@_Locimp@locale@std@@CAXPEAV123@AEBV123@@Z */
262 locale__Locimp
* __cdecl
locale__Locimp__Locimp_ctor(locale__Locimp
*this, const locale__Locimp
*copy
)
264 FIXME("(%p %p) stub\n", this, copy
);
268 /* ??1_Locimp@locale@std@@MAE@XZ */
269 /* ??1_Locimp@locale@std@@MEAA@XZ */
270 DEFINE_THISCALL_WRAPPER(locale__Locimp_dtor
, 4)
271 void __thiscall
locale__Locimp_dtor(locale__Locimp
*this)
273 FIXME("(%p) stub\n", this);
276 /* ?_Locimp_dtor@_Locimp@locale@std@@CAXPAV123@@Z */
277 /* ?_Locimp_dtor@_Locimp@locale@std@@CAXPEAV123@@Z */
278 void __cdecl
locale__Locimp__Locimp_dtor(locale__Locimp
*this)
280 FIXME("(%p) stub\n", this);
283 DEFINE_THISCALL_WRAPPER(MSVCP_locale__Locimp_vector_dtor
, 8)
284 locale__Locimp
* __thiscall
MSVCP_locale__Locimp_vector_dtor(locale__Locimp
*this, unsigned int flags
)
286 TRACE("(%p %x) stub\n", this, flags
);
288 /* we have an array, with the number of elements stored before the first object */
289 int i
, *ptr
= (int *)this-1;
291 for(i
=*ptr
-1; i
>=0; i
--)
292 locale__Locimp_dtor(this+i
);
293 MSVCRT_operator_delete(ptr
);
295 locale__Locimp_dtor(this);
297 MSVCRT_operator_delete(this);
303 /* ?_Locimp_Addfac@_Locimp@locale@std@@CAXPAV123@PAVfacet@23@I@Z */
304 /* ?_Locimp_Addfac@_Locimp@locale@std@@CAXPEAV123@PEAVfacet@23@_K@Z */
305 void __cdecl
locale__Locimp__Locimp_Addfac(locale__Locimp
*locimp
, locale_facet
*facet
, MSVCP_size_t id
)
307 FIXME("(%p %p %lu) stub\n", locimp
, facet
, id
);
310 /* ?_Addfac@_Locimp@locale@std@@AAEXPAVfacet@23@I@Z */
311 /* ?_Addfac@_Locimp@locale@std@@AEAAXPEAVfacet@23@_K@Z */
312 DEFINE_THISCALL_WRAPPER(locale__Locimp__Addfac
, 12)
313 void __thiscall
locale__Locimp__Addfac(locale__Locimp
*this, locale_facet
*facet
, MSVCP_size_t id
)
315 FIXME("(%p %p %lu) stub\n", this, facet
, id
);
318 /* ?_Clocptr_func@_Locimp@locale@std@@CAAAPAV123@XZ */
319 /* ?_Clocptr_func@_Locimp@locale@std@@CAAEAPEAV123@XZ */
320 locale__Locimp
** __cdecl
locale__Locimp__Clocptr_func(void)
326 /* ?_Makeloc@_Locimp@locale@std@@CAPAV123@ABV_Locinfo@3@HPAV123@PBV23@@Z */
327 /* ?_Makeloc@_Locimp@locale@std@@CAPEAV123@AEBV_Locinfo@3@HPEAV123@PEBV23@@Z */
328 locale__Locimp
* __cdecl
locale__Locimp__Makeloc(const _Locinfo
*locinfo
, category cat
, locale__Locimp
*locimp
, const locale
*loc
)
330 FIXME("(%p %d %p %p) stub\n", locinfo
, cat
, locimp
, loc
);
334 /* ?_Makeushloc@_Locimp@locale@std@@CAXABV_Locinfo@3@HPAV123@PBV23@@Z */
335 /* ?_Makeushloc@_Locimp@locale@std@@CAXAEBV_Locinfo@3@HPEAV123@PEBV23@@Z */
336 void __cdecl
locale__Locimp__Makeushloc(const _Locinfo
*locinfo
, category cat
, locale__Locimp
*locimp
, const locale
*loc
)
338 FIXME("(%p %d %p %p) stub\n", locinfo
, cat
, locimp
, loc
);
341 /* ?_Makewloc@_Locimp@locale@std@@CAXABV_Locinfo@3@HPAV123@PBV23@@Z */
342 /* ?_Makewloc@_Locimp@locale@std@@CAXAEBV_Locinfo@3@HPEAV123@PEBV23@@Z */
343 void __cdecl
locale__Locimp__Makewloc(const _Locinfo
*locinfo
, category cat
, locale__Locimp
*locimp
, const locale
*loc
)
345 FIXME("(%p %d %p %p) stub\n", locinfo
, cat
, locimp
, loc
);
348 /* ?_Makexloc@_Locimp@locale@std@@CAXABV_Locinfo@3@HPAV123@PBV23@@Z */
349 /* ?_Makexloc@_Locimp@locale@std@@CAXAEBV_Locinfo@3@HPEAV123@PEBV23@@Z */
350 void __cdecl
locale__Locimp__Makexloc(const _Locinfo
*locinfo
, category cat
, locale__Locimp
*locimp
, const locale
*loc
)
352 FIXME("(%p %d %p %p) stub\n", locinfo
, cat
, locimp
, loc
);
355 /* ??_7_Locimp@locale@std@@6B@ */
356 const vtable_ptr MSVCP_locale__Locimp_vtable
[] = {
357 (vtable_ptr
)THISCALL_NAME(MSVCP_locale__Locimp_vector_dtor
)
360 /* ??0locale@std@@AAE@PAV_Locimp@01@@Z */
361 /* ??0locale@std@@AEAA@PEAV_Locimp@01@@Z */
362 DEFINE_THISCALL_WRAPPER(locale_ctor_locimp
, 8)
363 locale
* __thiscall
locale_ctor_locimp(locale
*this, locale__Locimp
*locimp
)
365 FIXME("(%p %p) stub\n", this, locimp
);
369 /* ??0locale@std@@QAE@ABV01@0H@Z */
370 /* ??0locale@std@@QEAA@AEBV01@0H@Z */
371 DEFINE_THISCALL_WRAPPER(locale_ctor_locale_locale
, 16)
372 locale
* __thiscall
locale_ctor_locale_locale(locale
*this, const locale
*loc
, const locale
*other
, category cat
)
374 FIXME("(%p %p %p %d) stub\n", this, loc
, other
, cat
);
378 /* ??0locale@std@@QAE@ABV01@@Z */
379 /* ??0locale@std@@QEAA@AEBV01@@Z */
380 DEFINE_THISCALL_WRAPPER(locale_copy_ctor
, 8)
381 locale
* __thiscall
locale_copy_ctor(locale
*this, const locale
*copy
)
383 FIXME("(%p %p) stub\n", this, copy
);
387 /* ??0locale@std@@QAE@ABV01@PBDH@Z */
388 /* ??0locale@std@@QEAA@AEBV01@PEBDH@Z */
389 DEFINE_THISCALL_WRAPPER(locale_ctor_locale_cstr
, 16)
390 locale
* __thiscall
locale_ctor_locale_cstr(locale
*this, const locale
*loc
, const char *locname
, category cat
)
392 FIXME("(%p %p %s %d) stub\n", this, loc
, locname
, cat
);
396 /* ??0locale@std@@QAE@PBDH@Z */
397 /* ??0locale@std@@QEAA@PEBDH@Z */
398 DEFINE_THISCALL_WRAPPER(locale_ctor_cstr
, 12)
399 locale
* __thiscall
locale_ctor_cstr(locale
*this, const char *locname
, category cat
)
401 FIXME("(%p %s %d) stub\n", this, locname
, cat
);
405 /* ??0locale@std@@QAE@W4_Uninitialized@1@@Z */
406 /* ??0locale@std@@QEAA@W4_Uninitialized@1@@Z */
407 DEFINE_THISCALL_WRAPPER(locale_ctor_uninitialized
, 8)
408 locale
* __thiscall
locale_ctor_uninitialized(locale
*this, int uninitialized
)
410 FIXME("(%p %d) stub\n", this, uninitialized
);
414 /* ??0locale@std@@QAE@XZ */
415 /* ??0locale@std@@QEAA@XZ */
416 DEFINE_THISCALL_WRAPPER(locale_ctor
, 4)
417 locale
* __thiscall
locale_ctor(locale
*this)
419 FIXME("(%p) stub\n", this);
423 /* ??1locale@std@@QAE@XZ */
424 /* ??1locale@std@@QEAA@XZ */
425 DEFINE_THISCALL_WRAPPER(locale_dtor
, 4)
426 void __thiscall
locale_dtor(locale
*this)
428 FIXME("(%p) stub\n", this);
431 DEFINE_THISCALL_WRAPPER(MSVCP_locale_vector_dtor
, 8)
432 locale
* __thiscall
MSVCP_locale_vector_dtor(locale
*this, unsigned int flags
)
434 TRACE("(%p %x) stub\n", this, flags
);
436 /* we have an array, with the number of elements stored before the first object */
437 int i
, *ptr
= (int *)this-1;
439 for(i
=*ptr
-1; i
>=0; i
--)
441 MSVCRT_operator_delete(ptr
);
445 MSVCRT_operator_delete(this);
451 /* ??4locale@std@@QAEAAV01@ABV01@@Z */
452 /* ??4locale@std@@QEAAAEAV01@AEBV01@@Z */
453 DEFINE_THISCALL_WRAPPER(locale_operator_assign
, 8)
454 locale
* __thiscall
locale_operator_assign(locale
*this, const locale
*loc
)
456 FIXME("(%p %p) stub\n", this, loc
);
460 /* ??8locale@std@@QBE_NABV01@@Z */
461 /* ??8locale@std@@QEBA_NAEBV01@@Z */
462 DEFINE_THISCALL_WRAPPER(locale_operator_equal
, 8)
463 MSVCP_bool __thiscall
locale_operator_equal(const locale
*this, const locale
*loc
)
465 FIXME("(%p %p) stub\n", this, loc
);
469 /* ??9locale@std@@QBE_NABV01@@Z */
470 /* ??9locale@std@@QEBA_NAEBV01@@Z */
471 DEFINE_THISCALL_WRAPPER(locale_operator_not_equal
, 8)
472 MSVCP_bool __thiscall
locale_operator_not_equal(const locale
*this, locale
const *loc
)
474 FIXME("(%p %p) stub\n", this, loc
);
478 /* ?_Addfac@locale@std@@QAEAAV12@PAVfacet@12@II@Z */
479 /* ?_Addfac@locale@std@@QEAAAEAV12@PEAVfacet@12@_K1@Z */
480 DEFINE_THISCALL_WRAPPER(locale__Addfac
, 16)
481 locale
* __thiscall
locale__Addfac(locale
*this, locale_facet
*facet
, MSVCP_size_t id
, MSVCP_size_t catmask
)
483 FIXME("(%p %p %lu %lu) stub\n", this, facet
, id
, catmask
);
487 /* ?_Getfacet@locale@std@@QBEPBVfacet@12@I@Z */
488 /* ?_Getfacet@locale@std@@QEBAPEBVfacet@12@_K@Z */
489 DEFINE_THISCALL_WRAPPER(locale__Getfacet
, 8)
490 const locale_facet
* __thiscall
locale__Getfacet(const locale
*this, MSVCP_size_t id
)
492 FIXME("(%p %lu) stub\n", this, id
);
496 /* ?_Init@locale@std@@CAPAV_Locimp@12@XZ */
497 /* ?_Init@locale@std@@CAPEAV_Locimp@12@XZ */
498 locale__Locimp
* __cdecl
locale__Init(void)
504 /* ?_Getgloballocale@locale@std@@CAPAV_Locimp@12@XZ */
505 /* ?_Getgloballocale@locale@std@@CAPEAV_Locimp@12@XZ */
506 locale__Locimp
* __cdecl
locale__Getgloballocale(void)
512 /* ?_Setgloballocale@locale@std@@CAXPAX@Z */
513 /* ?_Setgloballocale@locale@std@@CAXPEAX@Z */
514 void __cdecl
locale__Setgloballocale(void *locimp
)
516 FIXME("(%p) stub\n", locimp
);
519 /* ?classic@locale@std@@SAABV12@XZ */
520 /* ?classic@locale@std@@SAAEBV12@XZ */
521 const locale
* __cdecl
locale_classic(void)
527 /* ?name@locale@std@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@XZ */
528 /* ?name@locale@std@@QEBA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@XZ */
529 DEFINE_THISCALL_WRAPPER_RETPTR(locale_name
, 4)
530 basic_string_char __thiscall
locale_name(const locale
*this)
532 basic_string_char ret
= { 0 }; /* FIXME */
533 FIXME( "(%p) stub\n", this);
537 /* ??0_Timevec@std@@QAE@ABV01@@Z */
538 /* ??0_Timevec@std@@QEAA@AEBV01@@Z */
539 DEFINE_THISCALL_WRAPPER(_Timevec_copy_ctor
, 8)
540 _Timevec
* __thiscall
_Timevec_copy_ctor(_Timevec
*this, const _Timevec
*copy
)
542 FIXME("(%p %p) stub\n", this, copy
);
546 /* ??0_Timevec@std@@QAE@PAX@Z */
547 /* ??0_Timevec@std@@QEAA@PEAX@Z */
548 DEFINE_THISCALL_WRAPPER(_Timevec_ctor_timeptr
, 8)
549 _Timevec
* __thiscall
_Timevec_ctor_timeptr(_Timevec
*this, void *timeptr
)
551 FIXME("(%p %p) stub\n", this, timeptr
);
555 /* ??_F_Timevec@std@@QAEXXZ */
556 /* ??_F_Timevec@std@@QEAAXXZ */
557 DEFINE_THISCALL_WRAPPER(_Timevec_ctor
, 4)
558 _Timevec
* __thiscall
_Timevec_ctor(_Timevec
*this)
560 FIXME("(%p) stub\n", this);
564 /* ??1_Timevec@std@@QAE@XZ */
565 /* ??1_Timevec@std@@QEAA@XZ */
566 DEFINE_THISCALL_WRAPPER(_Timevec_dtor
, 4)
567 void __thiscall
_Timevec_dtor(_Timevec
*this)
569 FIXME("(%p) stub\n", this);
572 /* ??4_Timevec@std@@QAEAAV01@ABV01@@Z */
573 /* ??4_Timevec@std@@QEAAAEAV01@AEBV01@@Z */
574 DEFINE_THISCALL_WRAPPER(_Timevec_op_assign
, 8)
575 _Timevec
* __thiscall
_Timevec_op_assign(_Timevec
*this, _Timevec
*right
)
577 FIXME("(%p %p) stub\n", this, right
);
581 /* ?_Getptr@_Timevec@std@@QBEPAXXZ */
582 /* ?_Getptr@_Timevec@std@@QEBAPEAXXZ */
583 DEFINE_THISCALL_WRAPPER(_Timevec__Getptr
, 4)
584 void* __thiscall
_Timevec__Getptr(_Timevec
*this)
586 FIXME("(%p) stub\n", this);
590 /* ?_Locinfo_ctor@_Locinfo@std@@SAXPAV12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z */
591 /* ?_Locinfo_ctor@_Locinfo@std@@SAXPEAV12@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z */
592 _Locinfo
* __cdecl
_Locinfo__Locinfo_ctor_bstr(_Locinfo
*locinfo
, const basic_string_char
*locstr
)
594 FIXME("(%p %p) stub\n", locinfo
, locstr
);
598 /* ??0_Locinfo@std@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@@Z */
599 /* ??0_Locinfo@std@@QEAA@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@@Z */
600 DEFINE_THISCALL_WRAPPER(_Locinfo_ctor_bstr
, 8)
601 _Locinfo
* __thiscall
_Locinfo_ctor_bstr(_Locinfo
*this, const basic_string_char
*locstr
)
603 FIXME("(%p %p) stub\n", this, locstr
);
607 /* ?_Locinfo_ctor@_Locinfo@std@@SAXPAV12@HPBD@Z */
608 /* ?_Locinfo_ctor@_Locinfo@std@@SAXPEAV12@HPEBD@Z */
609 _Locinfo
* __cdecl
_Locinfo__Locinfo_ctor_cat_cstr(_Locinfo
*locinfo
, int category
, const char *locstr
)
611 FIXME("(%p %d %s) stub\n", locinfo
, category
, locstr
);
615 /* ??0_Locinfo@std@@QAE@HPBD@Z */
616 /* ??0_Locinfo@std@@QEAA@HPEBD@Z */
617 DEFINE_THISCALL_WRAPPER(_Locinfo_ctor_cat_cstr
, 12)
618 _Locinfo
* __thiscall
_Locinfo_ctor_cat_cstr(_Locinfo
*this, int category
, const char *locstr
)
620 FIXME("(%p %d %s) stub\n", this, category
, locstr
);
624 /* ?_Locinfo_ctor@_Locinfo@std@@SAXPAV12@PBD@Z */
625 /* ?_Locinfo_ctor@_Locinfo@std@@SAXPEAV12@PEBD@Z */
626 _Locinfo
* __cdecl
_Locinfo__Locinfo_ctor_cstr(_Locinfo
*locinfo
, const char *locstr
)
628 FIXME("(%p %s) stub\n", locinfo
, locstr
);
632 /* ??0_Locinfo@std@@QAE@PBD@Z */
633 /* ??0_Locinfo@std@@QEAA@PEBD@Z */
634 DEFINE_THISCALL_WRAPPER(_Locinfo_ctor_cstr
, 8)
635 _Locinfo
* __thiscall
_Locinfo_ctor_cstr(_Locinfo
*this, const char *locstr
)
637 FIXME("(%p %s) stub\n", this, locstr
);
641 /* ?_Locinfo_dtor@_Locinfo@std@@SAXPAV12@@Z */
642 /* ?_Locinfo_dtor@_Locinfo@std@@SAXPEAV12@@Z */
643 _Locinfo
* __cdecl
_Locinfo__Locinfo_dtor(_Locinfo
*locinfo
)
645 FIXME("(%p) stub\n", locinfo
);
649 /* ??_F_Locinfo@std@@QAEXXZ */
650 /* ??_F_Locinfo@std@@QEAAXXZ */
651 DEFINE_THISCALL_WRAPPER(_Locinfo_ctor
, 4)
652 _Locinfo
* __thiscall
_Locinfo_ctor(_Locinfo
*this)
654 FIXME("(%p) stub\n", this);
658 /* ??1_Locinfo@std@@QAE@XZ */
659 /* ??1_Locinfo@std@@QEAA@XZ */
660 DEFINE_THISCALL_WRAPPER(_Locinfo_dtor
, 4)
661 void __thiscall
_Locinfo_dtor(_Locinfo
*this)
663 FIXME("(%p) stub\n", this);
666 /* ?_Locinfo_Addcats@_Locinfo@std@@SAAAV12@PAV12@HPBD@Z */
667 /* ?_Locinfo_Addcats@_Locinfo@std@@SAAEAV12@PEAV12@HPEBD@Z */
668 _Locinfo
* __cdecl
_Locinfo__Locinfo_Addcats(_Locinfo
*locinfo
, int category
, const char *locstr
)
670 FIXME("%p %d %s) stub\n", locinfo
, category
, locstr
);
674 /* ?_Addcats@_Locinfo@std@@QAEAAV12@HPBD@Z */
675 /* ?_Addcats@_Locinfo@std@@QEAAAEAV12@HPEBD@Z */
676 DEFINE_THISCALL_WRAPPER(_Locinfo__Addcats
, 12)
677 _Locinfo
* __thiscall
_Locinfo__Addcats(_Locinfo
*this, int category
, const char *locstr
)
679 FIXME("(%p %d %s) stub\n", this, category
, locstr
);
683 /* ?_Getcoll@_Locinfo@std@@QBE?AU_Collvec@@XZ */
684 /* ?_Getcoll@_Locinfo@std@@QEBA?AU_Collvec@@XZ */
685 DEFINE_THISCALL_WRAPPER(_Locinfo__Getcoll
, 4)
686 _Collvec __thiscall
_Locinfo__Getcoll(const _Locinfo
*this)
688 _Collvec ret
= { 0 }; /* FIXME */
689 FIXME("(%p) stub\n", this);
693 /* ?_Getctype@_Locinfo@std@@QBE?AU_Ctypevec@@XZ */
694 /* ?_Getctype@_Locinfo@std@@QEBA?AU_Ctypevec@@XZ */
695 DEFINE_THISCALL_WRAPPER_RETPTR(_Locinfo__Getctype
, 4)
696 _Ctypevec __thiscall
_Locinfo__Getctype(const _Locinfo
*this)
698 _Ctypevec ret
= { 0 }; /* FIXME */
699 FIXME("(%p) stub\n", this);
703 /* ?_Getcvt@_Locinfo@std@@QBE?AU_Cvtvec@@XZ */
704 /* ?_Getcvt@_Locinfo@std@@QEBA?AU_Cvtvec@@XZ */
705 DEFINE_THISCALL_WRAPPER(_Locinfo__Getcvt
, 4)
706 _Cvtvec __thiscall
_Locinfo__Getcvt(const _Locinfo
*this)
708 _Cvtvec ret
= { 0 }; /* FIXME */
709 FIXME("(%p) stub\n", this);
713 /* ?_Getdateorder@_Locinfo@std@@QBEHXZ */
714 /* ?_Getdateorder@_Locinfo@std@@QEBAHXZ */
715 DEFINE_THISCALL_WRAPPER(_Locinfo__Getdateorder
, 4)
716 int __thiscall
_Locinfo__Getdateorder(const _Locinfo
*this)
718 FIXME("(%p) stub\n", this);
722 /* ?_Getdays@_Locinfo@std@@QBEPBDXZ */
723 /* ?_Getdays@_Locinfo@std@@QEBAPEBDXZ */
724 DEFINE_THISCALL_WRAPPER(_Locinfo__Getdays
, 4)
725 const char* __thiscall
_Locinfo__Getdays(const _Locinfo
*this)
727 FIXME("(%p) stub\n", this);
731 /* ?_Getmonths@_Locinfo@std@@QBEPBDXZ */
732 /* ?_Getmonths@_Locinfo@std@@QEBAPEBDXZ */
733 DEFINE_THISCALL_WRAPPER(_Locinfo__Getmonths
, 4)
734 const char* __thiscall
_Locinfo__Getmonths(const _Locinfo
*this)
736 FIXME("(%p) stub\n", this);
740 /* ?_Getfalse@_Locinfo@std@@QBEPBDXZ */
741 /* ?_Getfalse@_Locinfo@std@@QEBAPEBDXZ */
742 DEFINE_THISCALL_WRAPPER(_Locinfo__Getfalse
, 4)
743 const char* __thiscall
_Locinfo__Getfalse(const _Locinfo
*this)
745 FIXME("(%p) stub\n", this);
749 /* ?_Gettrue@_Locinfo@std@@QBEPBDXZ */
750 /* ?_Gettrue@_Locinfo@std@@QEBAPEBDXZ */
751 DEFINE_THISCALL_WRAPPER(_Locinfo__Gettrue
, 4)
752 const char* __thiscall
_Locinfo__Gettrue(const _Locinfo
*this)
754 FIXME("(%p) stub\n", this);
758 /* ?_Getlconv@_Locinfo@std@@QBEPBUlconv@@XZ */
759 /* ?_Getlconv@_Locinfo@std@@QEBAPEBUlconv@@XZ */
760 DEFINE_THISCALL_WRAPPER(_Locinfo__Getlconv
, 4)
761 const struct lconv
* __thiscall
_Locinfo__Getlconv(const _Locinfo
*this)
763 FIXME("(%p) stub\n", this);
767 /* ?_Getname@_Locinfo@std@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@XZ */
768 /* ?_Getname@_Locinfo@std@@QEBA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@XZ */
769 DEFINE_THISCALL_WRAPPER_RETPTR(_Locinfo__Getname
, 4)
770 basic_string_char __thiscall
_Locinfo__Getname(const _Locinfo
*this)
772 basic_string_char ret
= { 0 }; /* FIXME */
773 FIXME("(%p) stub\n", this);
777 /* ?_Gettnames@_Locinfo@std@@QBE?AV_Timevec@2@XZ */
778 /* ?_Gettnames@_Locinfo@std@@QEBA?AV_Timevec@2@XZ */
779 DEFINE_THISCALL_WRAPPER(_Locinfo__Gettnames
, 4)
780 _Timevec __thiscall
_Locinfo__Gettnames(const _Locinfo
*this)
782 _Timevec ret
= { 0 }; /* FIXME */
783 FIXME("(%p) stub\n", this);