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 FIXME("(%p %lu) stub\n", this, id);
98 /* ??_Fid@locale@std@@QAEXXZ */
99 /* ??_Fid@locale@std@@QEAAXXZ */
100 DEFINE_THISCALL_WRAPPER(locale_id_ctor, 4)
101 locale_id* __thiscall locale_id_ctor(locale_id *this)
103 FIXME("(%p) stub\n", this);
107 /* ??Bid@locale@std@@QAEIXZ */
108 /* ??Bid@locale@std@@QEAA_KXZ */
109 DEFINE_THISCALL_WRAPPER(locale_id_operator_size_t, 4)
110 MSVCP_size_t __thiscall locale_id_operator_size_t(locale_id *this)
112 FIXME("(%p) stub\n", this);
116 /* ?_Id_cnt_func@id@locale@std@@CAAAHXZ */
117 /* ?_Id_cnt_func@id@locale@std@@CAAEAHXZ */
118 int* __cdecl locale_id__Id_cnt_func(void)
124 /* ??_Ffacet@locale@std@@QAEXXZ */
125 /* ??_Ffacet@locale@std@@QEAAXXZ */
126 DEFINE_THISCALL_WRAPPER(locale_facet_ctor, 4)
127 locale_facet* __thiscall locale_facet_ctor(locale_facet *this)
129 FIXME("(%p) stub\n", this);
130 this->vtable = MSVCP_locale_facet_vtable;
134 /* ??0facet@locale@std@@IAE@I@Z */
135 /* ??0facet@locale@std@@IEAA@_K@Z */
136 DEFINE_THISCALL_WRAPPER(locale_facet_ctor_refs, 8)
137 locale_facet* __thiscall locale_facet_ctor_refs(locale_facet *this, MSVCP_size_t refs)
139 FIXME("(%p %lu) stub\n", this, refs);
143 /* ??1facet@locale@std@@UAE@XZ */
144 /* ??1facet@locale@std@@UEAA@XZ */
145 DEFINE_THISCALL_WRAPPER(locale_facet_dtor, 4)
146 void __thiscall locale_facet_dtor(locale_facet *this)
148 FIXME("(%p) stub\n", this);
151 DEFINE_THISCALL_WRAPPER(MSVCP_locale_facet_vector_dtor, 8)
152 locale_facet* __thiscall MSVCP_locale_facet_vector_dtor(locale_facet *this, unsigned int flags)
154 TRACE("(%p %x) stub\n", this, flags);
156 /* we have an array, with the number of elements stored before the first object */
157 int i, *ptr = (int *)this-1;
159 for(i=*ptr-1; i>=0; i--)
160 locale_facet_dtor(this+i);
161 MSVCRT_operator_delete(ptr);
163 locale_facet_dtor(this);
165 MSVCRT_operator_delete(this);
171 /* ?_Incref@facet@locale@std@@QAEXXZ */
172 /* ?_Incref@facet@locale@std@@QEAAXXZ */
173 DEFINE_THISCALL_WRAPPER(locale_facet__Incref, 4)
174 void __thiscall locale_facet__Incref(locale_facet *this)
176 FIXME("(%p) stub\n", this);
179 /* ?_Decref@facet@locale@std@@QAEPAV123@XZ */
180 /* ?_Decref@facet@locale@std@@QEAAPEAV123@XZ */
181 DEFINE_THISCALL_WRAPPER(locale_facet__Decref, 4)
182 locale_facet* __thiscall locale_facet__Decref(locale_facet *this)
184 FIXME("(%p) stub\n", this);
188 /* ?_Getcat@facet@locale@std@@SAIPAPBV123@PBV23@@Z */
189 /* ?_Getcat@facet@locale@std@@SA_KPEAPEBV123@PEBV23@@Z */
190 MSVCP_size_t __cdecl locale_facet__Getcat(const locale_facet **facet, const locale *loc)
192 FIXME("(%p %p) stub\n", facet, loc);
196 static const vtable_ptr MSVCP_locale_facet_vtable[] = {
197 (vtable_ptr)THISCALL_NAME(MSVCP_locale_facet_vector_dtor)
200 /* ??_F_Locimp@locale@std@@QAEXXZ */
201 /* ??_F_Locimp@locale@std@@QEAAXXZ */
202 DEFINE_THISCALL_WRAPPER(locale__Locimp_ctor, 4)
203 locale__Locimp* __thiscall locale__Locimp_ctor(locale__Locimp *this)
205 FIXME("(%p) stub\n", this);
209 /* ??0_Locimp@locale@std@@AAE@_N@Z */
210 /* ??0_Locimp@locale@std@@AEAA@_N@Z */
211 DEFINE_THISCALL_WRAPPER(locale__Locimp_ctor_transparent, 8)
212 locale__Locimp* __thiscall locale__Locimp_ctor_transparent(locale__Locimp *this, MSVCP_bool transparent)
214 FIXME("(%p %d) stub\n", this, transparent);
218 /* ??0_Locimp@locale@std@@AAE@ABV012@@Z */
219 /* ??0_Locimp@locale@std@@AEAA@AEBV012@@Z */
220 /* ?_Locimp_ctor@_Locimp@locale@std@@CAXPAV123@ABV123@@Z */
221 /* ?_Locimp_ctor@_Locimp@locale@std@@CAXPEAV123@AEBV123@@Z */
222 DEFINE_THISCALL_WRAPPER(locale__Locimp_copy_ctor, 8)
223 locale__Locimp* __thiscall locale__Locimp_copy_ctor(locale__Locimp *this, const locale__Locimp *copy)
225 FIXME("(%p %p) stub\n", this, copy);
229 /* ??1_Locimp@locale@std@@MAE@XZ */
230 /* ??1_Locimp@locale@std@@MEAA@XZ */
231 /* ?_Locimp_dtor@_Locimp@locale@std@@CAXPAV123@@Z */
232 /* ?_Locimp_dtor@_Locimp@locale@std@@CAXPEAV123@@Z */
233 DEFINE_THISCALL_WRAPPER(locale__Locimp_dtor, 4)
234 void __thiscall locale__Locimp_dtor(locale__Locimp *this)
236 FIXME("(%p) stub\n", this);
239 DEFINE_THISCALL_WRAPPER(MSVCP_locale__Locimp_vector_dtor, 8)
240 locale__Locimp* __thiscall MSVCP_locale__Locimp_vector_dtor(locale__Locimp *this, unsigned int flags)
242 TRACE("(%p %x) stub\n", this, flags);
244 /* we have an array, with the number of elements stored before the first object */
245 int i, *ptr = (int *)this-1;
247 for(i=*ptr-1; i>=0; i--)
248 locale__Locimp_dtor(this+i);
249 MSVCRT_operator_delete(ptr);
251 locale__Locimp_dtor(this);
253 MSVCRT_operator_delete(this);
259 /* ?_Locimp_Addfac@_Locimp@locale@std@@CAXPAV123@PAVfacet@23@I@Z */
260 /* ?_Locimp_Addfac@_Locimp@locale@std@@CAXPEAV123@PEAVfacet@23@_K@Z */
261 void __cdecl locale__Locimp__Locimp_Addfac(locale__Locimp *locimp, locale_facet *facet, MSVCP_size_t id)
263 FIXME("(%p %p %lu) stub\n", locimp, facet, id);
266 /* ?_Addfac@_Locimp@locale@std@@AAEXPAVfacet@23@I@Z */
267 /* ?_Addfac@_Locimp@locale@std@@AEAAXPEAVfacet@23@_K@Z */
268 DEFINE_THISCALL_WRAPPER(locale__Locimp__Addfac, 12)
269 void __thiscall locale__Locimp__Addfac(locale__Locimp *this, locale_facet *facet, MSVCP_size_t id)
271 FIXME("(%p %p %lu) stub\n", this, facet, id);
274 /* ?_Clocptr_func@_Locimp@locale@std@@CAAAPAV123@XZ */
275 /* ?_Clocptr_func@_Locimp@locale@std@@CAAEAPEAV123@XZ */
276 locale__Locimp** __cdecl locale__Locimp__Clocptr_func(void)
282 /* ?_Makeloc@_Locimp@locale@std@@CAPAV123@ABV_Locinfo@3@HPAV123@PBV23@@Z */
283 /* ?_Makeloc@_Locimp@locale@std@@CAPEAV123@AEBV_Locinfo@3@HPEAV123@PEBV23@@Z */
284 locale__Locimp* __cdecl locale__Locimp__Makeloc(const _Locinfo *locinfo, category cat, locale__Locimp *locimp, const locale *loc)
286 FIXME("(%p %d %p %p) stub\n", locinfo, cat, locimp, loc);
290 /* ?_Makeushloc@_Locimp@locale@std@@CAXABV_Locinfo@3@HPAV123@PBV23@@Z */
291 /* ?_Makeushloc@_Locimp@locale@std@@CAXAEBV_Locinfo@3@HPEAV123@PEBV23@@Z */
292 void __cdecl locale__Locimp__Makeushloc(const _Locinfo *locinfo, category cat, locale__Locimp *locimp, const locale *loc)
294 FIXME("(%p %d %p %p) stub\n", locinfo, cat, locimp, loc);
297 /* ?_Makewloc@_Locimp@locale@std@@CAXABV_Locinfo@3@HPAV123@PBV23@@Z */
298 /* ?_Makewloc@_Locimp@locale@std@@CAXAEBV_Locinfo@3@HPEAV123@PEBV23@@Z */
299 void __cdecl locale__Locimp__Makewloc(const _Locinfo *locinfo, category cat, locale__Locimp *locimp, const locale *loc)
301 FIXME("(%p %d %p %p) stub\n", locinfo, cat, locimp, loc);
304 /* ?_Makexloc@_Locimp@locale@std@@CAXABV_Locinfo@3@HPAV123@PBV23@@Z */
305 /* ?_Makexloc@_Locimp@locale@std@@CAXAEBV_Locinfo@3@HPEAV123@PEBV23@@Z */
306 void __cdecl locale__Locimp__Makexloc(const _Locinfo *locinfo, category cat, locale__Locimp *locimp, const locale *loc)
308 FIXME("(%p %d %p %p) stub\n", locinfo, cat, locimp, loc);
311 /* ??_7_Locimp@locale@std@@6B@ */
312 const vtable_ptr MSVCP_locale__Locimp_vtable[] = {
313 (vtable_ptr)THISCALL_NAME(MSVCP_locale__Locimp_vector_dtor)
316 /* ??0locale@std@@AAE@PAV_Locimp@01@@Z */
317 /* ??0locale@std@@AEAA@PEAV_Locimp@01@@Z */
318 DEFINE_THISCALL_WRAPPER(locale_ctor_locimp, 8)
319 locale* __thiscall locale_ctor_locimp(locale *this, locale__Locimp *locimp)
321 FIXME("(%p %p) stub\n", this, locimp);
325 /* ??0locale@std@@QAE@ABV01@0H@Z */
326 /* ??0locale@std@@QEAA@AEBV01@0H@Z */
327 DEFINE_THISCALL_WRAPPER(locale_ctor_locale_locale, 16)
328 locale* __thiscall locale_ctor_locale_locale(locale *this, const locale *loc, const locale *other, category cat)
330 FIXME("(%p %p %p %d) stub\n", this, loc, other, cat);
334 /* ??0locale@std@@QAE@ABV01@@Z */
335 /* ??0locale@std@@QEAA@AEBV01@@Z */
336 DEFINE_THISCALL_WRAPPER(locale_copy_ctor, 8)
337 locale* __thiscall locale_copy_ctor(locale *this, const locale *copy)
339 FIXME("(%p %p) stub\n", this, copy);
343 /* ??0locale@std@@QAE@ABV01@PBDH@Z */
344 /* ??0locale@std@@QEAA@AEBV01@PEBDH@Z */
345 DEFINE_THISCALL_WRAPPER(locale_ctor_locale_cstr, 16)
346 locale* __thiscall locale_ctor_locale_cstr(locale *this, const locale *loc, const char *locname, category cat)
348 FIXME("(%p %p %s %d) stub\n", this, loc, locname, cat);
352 /* ??0locale@std@@QAE@PBDH@Z */
353 /* ??0locale@std@@QEAA@PEBDH@Z */
354 DEFINE_THISCALL_WRAPPER(locale_ctor_cstr, 12)
355 locale* __thiscall locale_ctor_cstr(locale *this, const char *locname, category cat)
357 FIXME("(%p %s %d) stub\n", this, locname, cat);
361 /* ??0locale@std@@QAE@W4_Uninitialized@1@@Z */
362 /* ??0locale@std@@QEAA@W4_Uninitialized@1@@Z */
363 DEFINE_THISCALL_WRAPPER(locale_ctor_uninitialized, 8)
364 locale* __thiscall locale_ctor_uninitialized(locale *this, int uninitialized)
366 FIXME("(%p %d) stub\n", this, uninitialized);
370 /* ??0locale@std@@QAE@XZ */
371 /* ??0locale@std@@QEAA@XZ */
372 DEFINE_THISCALL_WRAPPER(locale_ctor, 4)
373 locale* __thiscall locale_ctor(locale *this)
375 FIXME("(%p) stub\n", this);
379 /* ??1locale@std@@QAE@XZ */
380 /* ??1locale@std@@QEAA@XZ */
381 DEFINE_THISCALL_WRAPPER(locale_dtor, 4)
382 void __thiscall locale_dtor(locale *this)
384 FIXME("(%p) stub\n", this);
387 DEFINE_THISCALL_WRAPPER(MSVCP_locale_vector_dtor, 8)
388 locale* __thiscall MSVCP_locale_vector_dtor(locale *this, unsigned int flags)
390 TRACE("(%p %x) stub\n", this, flags);
392 /* we have an array, with the number of elements stored before the first object */
393 int i, *ptr = (int *)this-1;
395 for(i=*ptr-1; i>=0; i--)
397 MSVCRT_operator_delete(ptr);
401 MSVCRT_operator_delete(this);
407 /* ??4locale@std@@QAEAAV01@ABV01@@Z */
408 /* ??4locale@std@@QEAAAEAV01@AEBV01@@Z */
409 DEFINE_THISCALL_WRAPPER(locale_operator_assign, 8)
410 locale* __thiscall locale_operator_assign(locale *this, const locale *loc)
412 FIXME("(%p %p) stub\n", this, loc);
416 /* ??8locale@std@@QBE_NABV01@@Z */
417 /* ??8locale@std@@QEBA_NAEBV01@@Z */
418 DEFINE_THISCALL_WRAPPER(locale_operator_equal, 8)
419 MSVCP_bool __thiscall locale_operator_equal(const locale *this, const locale *loc)
421 FIXME("(%p %p) stub\n", this, loc);
425 /* ??9locale@std@@QBE_NABV01@@Z */
426 /* ??9locale@std@@QEBA_NAEBV01@@Z */
427 DEFINE_THISCALL_WRAPPER(locale_operator_not_equal, 8)
428 MSVCP_bool __thiscall locale_operator_not_equal(const locale *this, locale const *loc)
430 FIXME("(%p %p) stub\n", this, loc);
434 /* ?_Addfac@locale@std@@QAEAAV12@PAVfacet@12@II@Z */
435 /* ?_Addfac@locale@std@@QEAAAEAV12@PEAVfacet@12@_K1@Z */
436 DEFINE_THISCALL_WRAPPER(locale__Addfac, 16)
437 locale* __thiscall locale__Addfac(locale *this, locale_facet *facet, MSVCP_size_t id, MSVCP_size_t catmask)
439 FIXME("(%p %p %lu %lu) stub\n", this, facet, id, catmask);
443 /* ?_Getfacet@locale@std@@QBEPBVfacet@12@I@Z */
444 /* ?_Getfacet@locale@std@@QEBAPEBVfacet@12@_K@Z */
445 DEFINE_THISCALL_WRAPPER(locale__Getfacet, 8)
446 const locale_facet* __thiscall locale__Getfacet(const locale *this, MSVCP_size_t id)
448 FIXME("(%p %lu) stub\n", this, id);
452 /* ?_Init@locale@std@@CAPAV_Locimp@12@XZ */
453 /* ?_Init@locale@std@@CAPEAV_Locimp@12@XZ */
454 locale__Locimp* __cdecl locale__Init(void)
460 /* ?_Getgloballocale@locale@std@@CAPAV_Locimp@12@XZ */
461 /* ?_Getgloballocale@locale@std@@CAPEAV_Locimp@12@XZ */
462 locale__Locimp* __cdecl locale__Getgloballocale(void)
468 /* ?_Setgloballocale@locale@std@@CAXPAX@Z */
469 /* ?_Setgloballocale@locale@std@@CAXPEAX@Z */
470 void __cdecl locale__Setgloballocale(void *locimp)
472 FIXME("(%p) stub\n", locimp);
475 /* ?classic@locale@std@@SAABV12@XZ */
476 /* ?classic@locale@std@@SAAEBV12@XZ */
477 const locale* __cdecl locale_classic(void)
483 /* ?name@locale@std@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@XZ */
484 /* ?name@locale@std@@QEBA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@XZ */
485 DEFINE_THISCALL_WRAPPER_RETPTR(locale_name, 4)
486 basic_string_char __thiscall locale_name(const locale *this)
488 basic_string_char ret = { 0 }; /* FIXME */
489 FIXME( "(%p) stub\n", this);
493 /* ??0_Timevec@std@@QAE@ABV01@@Z */
494 /* ??0_Timevec@std@@QEAA@AEBV01@@Z */
495 DEFINE_THISCALL_WRAPPER(_Timevec_copy_ctor, 8)
496 _Timevec* __thiscall _Timevec_copy_ctor(_Timevec *this, const _Timevec *copy)
498 FIXME("(%p %p) stub\n", this, copy);
502 /* ??0_Timevec@std@@QAE@PAX@Z */
503 /* ??0_Timevec@std@@QEAA@PEAX@Z */
504 DEFINE_THISCALL_WRAPPER(_Timevec_ctor_timeptr, 8)
505 _Timevec* __thiscall _Timevec_ctor_timeptr(_Timevec *this, void *timeptr)
507 FIXME("(%p %p) stub\n", this, timeptr);
511 /* ??_F_Timevec@std@@QAEXXZ */
512 /* ??_F_Timevec@std@@QEAAXXZ */
513 DEFINE_THISCALL_WRAPPER(_Timevec_ctor, 4)
514 _Timevec* __thiscall _Timevec_ctor(_Timevec *this)
516 FIXME("(%p) stub\n", this);
520 /* ??1_Timevec@std@@QAE@XZ */
521 /* ??1_Timevec@std@@QEAA@XZ */
522 DEFINE_THISCALL_WRAPPER(_Timevec_dtor, 4)
523 void __thiscall _Timevec_dtor(_Timevec *this)
525 FIXME("(%p) stub\n", this);
528 /* ??4_Timevec@std@@QAEAAV01@ABV01@@Z */
529 /* ??4_Timevec@std@@QEAAAEAV01@AEBV01@@Z */
530 DEFINE_THISCALL_WRAPPER(_Timevec_op_assign, 8)
531 _Timevec* __thiscall _Timevec_op_assign(_Timevec *this, _Timevec *right)
533 FIXME("(%p %p) stub\n", this, right);
537 /* ?_Getptr@_Timevec@std@@QBEPAXXZ */
538 /* ?_Getptr@_Timevec@std@@QEBAPEAXXZ */
539 DEFINE_THISCALL_WRAPPER(_Timevec__Getptr, 4)
540 void* __thiscall _Timevec__Getptr(_Timevec *this)
542 FIXME("(%p) stub\n", this);
546 /* ?_Locinfo_ctor@_Locinfo@std@@SAXPAV12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z */
547 /* ?_Locinfo_ctor@_Locinfo@std@@SAXPEAV12@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z */
548 _Locinfo* __cdecl _Locinfo__Locinfo_ctor_bstr(_Locinfo *locinfo, const basic_string_char *locstr)
550 FIXME("(%p %p) stub\n", locinfo, locstr);
554 /* ??0_Locinfo@std@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@@Z */
555 /* ??0_Locinfo@std@@QEAA@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@@Z */
556 DEFINE_THISCALL_WRAPPER(_Locinfo_ctor_bstr, 8)
557 _Locinfo* __thiscall _Locinfo_ctor_bstr(_Locinfo *this, const basic_string_char *locstr)
559 FIXME("(%p %p) stub\n", this, locstr);
563 /* ?_Locinfo_ctor@_Locinfo@std@@SAXPAV12@HPBD@Z */
564 /* ?_Locinfo_ctor@_Locinfo@std@@SAXPEAV12@HPEBD@Z */
565 _Locinfo* __cdecl _Locinfo__Locinfo_ctor_cat_cstr(_Locinfo *locinfo, int category, const char *locstr)
567 FIXME("(%p %d %s) stub\n", locinfo, category, locstr);
571 /* ??0_Locinfo@std@@QAE@HPBD@Z */
572 /* ??0_Locinfo@std@@QEAA@HPEBD@Z */
573 DEFINE_THISCALL_WRAPPER(_Locinfo_ctor_cat_cstr, 12)
574 _Locinfo* __thiscall _Locinfo_ctor_cat_cstr(_Locinfo *this, int category, const char *locstr)
576 FIXME("(%p %d %s) stub\n", this, category, locstr);
580 /* ?_Locinfo_ctor@_Locinfo@std@@SAXPAV12@PBD@Z */
581 /* ?_Locinfo_ctor@_Locinfo@std@@SAXPEAV12@PEBD@Z */
582 _Locinfo* __cdecl _Locinfo__Locinfo_ctor_cstr(_Locinfo *locinfo, const char *locstr)
584 FIXME("(%p %s) stub\n", locinfo, locstr);
588 /* ??0_Locinfo@std@@QAE@PBD@Z */
589 /* ??0_Locinfo@std@@QEAA@PEBD@Z */
590 DEFINE_THISCALL_WRAPPER(_Locinfo_ctor_cstr, 8)
591 _Locinfo* __thiscall _Locinfo_ctor_cstr(_Locinfo *this, const char *locstr)
593 FIXME("(%p %s) stub\n", this, locstr);
597 /* ?_Locinfo_dtor@_Locinfo@std@@SAXPAV12@@Z */
598 /* ?_Locinfo_dtor@_Locinfo@std@@SAXPEAV12@@Z */
599 _Locinfo* __cdecl _Locinfo__Locinfo_dtor(_Locinfo *locinfo)
601 FIXME("(%p) stub\n", locinfo);
605 /* ??_F_Locinfo@std@@QAEXXZ */
606 /* ??_F_Locinfo@std@@QEAAXXZ */
607 DEFINE_THISCALL_WRAPPER(_Locinfo_ctor, 4)
608 _Locinfo* __thiscall _Locinfo_ctor(_Locinfo *this)
610 FIXME("(%p) stub\n", this);
614 /* ??1_Locinfo@std@@QAE@XZ */
615 /* ??1_Locinfo@std@@QEAA@XZ */
616 DEFINE_THISCALL_WRAPPER(_Locinfo_dtor, 4)
617 void __thiscall _Locinfo_dtor(_Locinfo *this)
619 FIXME("(%p) stub\n", this);
622 /* ?_Locinfo_Addcats@_Locinfo@std@@SAAAV12@PAV12@HPBD@Z */
623 /* ?_Locinfo_Addcats@_Locinfo@std@@SAAEAV12@PEAV12@HPEBD@Z */
624 _Locinfo* __cdecl _Locinfo__Locinfo_Addcats(_Locinfo *locinfo, int category, const char *locstr)
626 FIXME("%p %d %s) stub\n", locinfo, category, locstr);
630 /* ?_Addcats@_Locinfo@std@@QAEAAV12@HPBD@Z */
631 /* ?_Addcats@_Locinfo@std@@QEAAAEAV12@HPEBD@Z */
632 DEFINE_THISCALL_WRAPPER(_Locinfo__Addcats, 12)
633 _Locinfo* __thiscall _Locinfo__Addcats(_Locinfo *this, int category, const char *locstr)
635 FIXME("(%p %d %s) stub\n", this, category, locstr);
639 /* ?_Getcoll@_Locinfo@std@@QBE?AU_Collvec@@XZ */
640 /* ?_Getcoll@_Locinfo@std@@QEBA?AU_Collvec@@XZ */
641 DEFINE_THISCALL_WRAPPER(_Locinfo__Getcoll, 4)
642 _Collvec __thiscall _Locinfo__Getcoll(const _Locinfo *this)
644 _Collvec ret = { 0 }; /* FIXME */
645 FIXME("(%p) stub\n", this);
649 /* ?_Getctype@_Locinfo@std@@QBE?AU_Ctypevec@@XZ */
650 /* ?_Getctype@_Locinfo@std@@QEBA?AU_Ctypevec@@XZ */
651 DEFINE_THISCALL_WRAPPER_RETPTR(_Locinfo__Getctype, 4)
652 _Ctypevec __thiscall _Locinfo__Getctype(const _Locinfo *this)
654 _Ctypevec ret = { 0 }; /* FIXME */
655 FIXME("(%p) stub\n", this);
659 /* ?_Getcvt@_Locinfo@std@@QBE?AU_Cvtvec@@XZ */
660 /* ?_Getcvt@_Locinfo@std@@QEBA?AU_Cvtvec@@XZ */
661 DEFINE_THISCALL_WRAPPER(_Locinfo__Getcvt, 4)
662 _Cvtvec __thiscall _Locinfo__Getcvt(const _Locinfo *this)
664 _Cvtvec ret = { 0 }; /* FIXME */
665 FIXME("(%p) stub\n", this);
669 /* ?_Getdateorder@_Locinfo@std@@QBEHXZ */
670 /* ?_Getdateorder@_Locinfo@std@@QEBAHXZ */
671 DEFINE_THISCALL_WRAPPER(_Locinfo__Getdateorder, 4)
672 int __thiscall _Locinfo__Getdateorder(const _Locinfo *this)
674 FIXME("(%p) stub\n", this);
678 /* ?_Getdays@_Locinfo@std@@QBEPBDXZ */
679 /* ?_Getdays@_Locinfo@std@@QEBAPEBDXZ */
680 DEFINE_THISCALL_WRAPPER(_Locinfo__Getdays, 4)
681 const char* __thiscall _Locinfo__Getdays(const _Locinfo *this)
683 FIXME("(%p) stub\n", this);
687 /* ?_Getmonths@_Locinfo@std@@QBEPBDXZ */
688 /* ?_Getmonths@_Locinfo@std@@QEBAPEBDXZ */
689 DEFINE_THISCALL_WRAPPER(_Locinfo__Getmonths, 4)
690 const char* __thiscall _Locinfo__Getmonths(const _Locinfo *this)
692 FIXME("(%p) stub\n", this);
696 /* ?_Getfalse@_Locinfo@std@@QBEPBDXZ */
697 /* ?_Getfalse@_Locinfo@std@@QEBAPEBDXZ */
698 DEFINE_THISCALL_WRAPPER(_Locinfo__Getfalse, 4)
699 const char* __thiscall _Locinfo__Getfalse(const _Locinfo *this)
701 FIXME("(%p) stub\n", this);
705 /* ?_Gettrue@_Locinfo@std@@QBEPBDXZ */
706 /* ?_Gettrue@_Locinfo@std@@QEBAPEBDXZ */
707 DEFINE_THISCALL_WRAPPER(_Locinfo__Gettrue, 4)
708 const char* __thiscall _Locinfo__Gettrue(const _Locinfo *this)
710 FIXME("(%p) stub\n", this);
714 /* ?_Getlconv@_Locinfo@std@@QBEPBUlconv@@XZ */
715 /* ?_Getlconv@_Locinfo@std@@QEBAPEBUlconv@@XZ */
716 DEFINE_THISCALL_WRAPPER(_Locinfo__Getlconv, 4)
717 const struct lconv* __thiscall _Locinfo__Getlconv(const _Locinfo *this)
719 FIXME("(%p) stub\n", this);
723 /* ?_Getname@_Locinfo@std@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@XZ */
724 /* ?_Getname@_Locinfo@std@@QEBA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@XZ */
725 DEFINE_THISCALL_WRAPPER_RETPTR(_Locinfo__Getname, 4)
726 basic_string_char __thiscall _Locinfo__Getname(const _Locinfo *this)
728 basic_string_char ret = { 0 }; /* FIXME */
729 FIXME("(%p) stub\n", this);
733 /* ?_Gettnames@_Locinfo@std@@QBE?AV_Timevec@2@XZ */
734 /* ?_Gettnames@_Locinfo@std@@QEBA?AV_Timevec@2@XZ */
735 DEFINE_THISCALL_WRAPPER(_Locinfo__Gettnames, 4)
736 _Timevec __thiscall _Locinfo__Gettnames(const _Locinfo *this)
738 _Timevec ret = { 0 }; /* FIXME */
739 FIXME("(%p) stub\n", this);