ReactOS 0.4.15-dev-7907-g95bf896
wine_msc.h File Reference

Go to the source code of this file.

Functions

exception __thiscall MSVCRT_exception_ctor (exception *_this, const char **name)
 
exception __thiscall MSVCRT_exception_ctor_noalloc (exception *_this, char **name, int noalloc)
 
exception __thiscall MSVCRT_exception_copy_ctor (exception *_this, const exception *rhs)
 
exception __thiscall MSVCRT_exception_default_ctor (exception *_this)
 
void __thiscall MSVCRT_exception_dtor (exception *_this)
 
exception __thiscall MSVCRT_exception_opequals (exception *_this, const exception *rhs)
 
void *__thiscall MSVCRT_exception_vector_dtor (exception *_this, unsigned int flags)
 
void *__thiscall MSVCRT_exception_scalar_dtor (exception *_this, unsigned int flags)
 
const char *__thiscall MSVCRT_what_exception (exception *_this)
 
bad_typeid *__thiscall MSVCRT_bad_typeid_copy_ctor (bad_typeid *_this, const bad_typeid *rhs)
 
bad_typeid *__thiscall MSVCRT_bad_typeid_ctor (bad_typeid *_this, const char *name)
 
bad_typeid *__thiscall MSVCRT_bad_typeid_default_ctor (bad_typeid *_this)
 
void __thiscall MSVCRT_bad_typeid_dtor (bad_typeid *_this)
 
bad_typeid *__thiscall MSVCRT_bad_typeid_opequals (bad_typeid *_this, const bad_typeid *rhs)
 
void *__thiscall MSVCRT_bad_typeid_vector_dtor (bad_typeid *_this, unsigned int flags)
 
void *__thiscall MSVCRT_bad_typeid_scalar_dtor (bad_typeid *_this, unsigned int flags)
 
__non_rtti_object *__thiscall MSVCRT___non_rtti_object_copy_ctor (__non_rtti_object *_this, const __non_rtti_object *rhs)
 
__non_rtti_object *__thiscall MSVCRT___non_rtti_object_ctor (__non_rtti_object *_this, const char *name)
 
void __thiscall MSVCRT___non_rtti_object_dtor (__non_rtti_object *_this)
 
__non_rtti_object *__thiscall MSVCRT___non_rtti_object_opequals (__non_rtti_object *_this, const __non_rtti_object *rhs)
 
void *__thiscall MSVCRT___non_rtti_object_vector_dtor (__non_rtti_object *_this, unsigned int flags)
 
void *__thiscall MSVCRT___non_rtti_object_scalar_dtor (__non_rtti_object *_this, unsigned int flags)
 
bad_cast *__thiscall MSVCRT_bad_cast_ctor (bad_cast *_this, const char **name)
 
bad_cast *__thiscall MSVCRT_bad_cast_copy_ctor (bad_cast *_this, const bad_cast *rhs)
 
bad_cast *__thiscall MSVCRT_bad_cast_ctor_charptr (bad_cast *_this, const char *name)
 
bad_cast *__thiscall MSVCRT_bad_cast_default_ctor (bad_cast *_this)
 
void __thiscall MSVCRT_bad_cast_dtor (bad_cast *_this)
 
bad_cast *__thiscall MSVCRT_bad_cast_opequals (bad_cast *_this, const bad_cast *rhs)
 
void *__thiscall MSVCRT_bad_cast_vector_dtor (bad_cast *_this, unsigned int flags)
 
void *__thiscall MSVCRT_bad_cast_scalar_dtor (bad_cast *_this, unsigned int flags)
 
int __thiscall MSVCRT_type_info_opequals_equals (type_info *_this, const type_info *rhs)
 
int __thiscall MSVCRT_type_info_opnot_equals (type_info *_this, const type_info *rhs)
 
int __thiscall MSVCRT_type_info_before (type_info *_this, const type_info *rhs)
 
void __thiscall MSVCRT_type_info_dtor (type_info *_this)
 
const char *__thiscall MSVCRT_type_info_name (type_info *_this)
 
const char *__thiscall MSVCRT_type_info_raw_name (type_info *_this)
 
void *__thiscall MSVCRT_type_info_vector_dtor (type_info *_this, unsigned int flags)
 

Function Documentation

◆ MSVCRT___non_rtti_object_copy_ctor()

__non_rtti_object *__thiscall MSVCRT___non_rtti_object_copy_ctor ( __non_rtti_object *  _this,
const __non_rtti_object *  rhs 
)

Definition at line 367 of file cpp.c.

369{
370 TRACE("(%p %p)\n", _this, rhs);
371 MSVCRT_bad_typeid_copy_ctor(_this, rhs);
372 _this->vtable = &MSVCRT___non_rtti_object_vtable;
373 return _this;
374}
bad_typeid *__thiscall MSVCRT_bad_typeid_copy_ctor(bad_typeid *_this, const bad_typeid *rhs)
Definition: cpp.c:278
const vtable_ptr MSVCRT___non_rtti_object_vtable
#define TRACE(s)
Definition: solgame.cpp:4

◆ MSVCRT___non_rtti_object_ctor()

__non_rtti_object *__thiscall MSVCRT___non_rtti_object_ctor ( __non_rtti_object *  _this,
const char name 
)

Definition at line 380 of file cpp.c.

382{
383 TRACE("(%p %s)\n", _this, name);
384 EXCEPTION_ctor(_this, &name);
385 _this->vtable = &MSVCRT___non_rtti_object_vtable;
386 return _this;
387}
static void EXCEPTION_ctor(exception *_this, const char **name)
Definition: cpp.c:124
Definition: name.c:39

Referenced by MSVCRT___RTCastToVoid(), MSVCRT___RTDynamicCast(), and MSVCRT___RTtypeid().

◆ MSVCRT___non_rtti_object_dtor()

void __thiscall MSVCRT___non_rtti_object_dtor ( __non_rtti_object *  _this)

Definition at line 393 of file cpp.c.

394{
395 TRACE("(%p)\n", _this);
397}
void __thiscall MSVCRT_bad_typeid_dtor(bad_typeid *_this)
Definition: cpp.c:311

Referenced by MSVCRT___non_rtti_object_scalar_dtor(), and MSVCRT___non_rtti_object_vector_dtor().

◆ MSVCRT___non_rtti_object_opequals()

__non_rtti_object *__thiscall MSVCRT___non_rtti_object_opequals ( __non_rtti_object *  _this,
const __non_rtti_object *  rhs 
)

Definition at line 403 of file cpp.c.

405{
406 TRACE("(%p %p)\n", _this, rhs);
407 MSVCRT_bad_typeid_opequals(_this, rhs);
408 return _this;
409}
bad_typeid *__thiscall MSVCRT_bad_typeid_opequals(bad_typeid *_this, const bad_typeid *rhs)
Definition: cpp.c:321

◆ MSVCRT___non_rtti_object_scalar_dtor()

void *__thiscall MSVCRT___non_rtti_object_scalar_dtor ( __non_rtti_object *  _this,
unsigned int  flags 
)

Definition at line 438 of file cpp.c.

439{
440 TRACE("(%p %x)\n", _this, flags);
442 if (flags & 1) MSVCRT_operator_delete(_this);
443 return _this;
444}
GLbitfield flags
Definition: glext.h:7161
void __cdecl MSVCRT_operator_delete(void *)
Definition: heap.c:196
void __thiscall MSVCRT___non_rtti_object_dtor(__non_rtti_object *_this)
Definition: cpp.c:393

◆ MSVCRT___non_rtti_object_vector_dtor()

void *__thiscall MSVCRT___non_rtti_object_vector_dtor ( __non_rtti_object *  _this,
unsigned int  flags 
)

Definition at line 415 of file cpp.c.

416{
417 TRACE("(%p %x)\n", _this, flags);
418 if (flags & 2)
419 {
420 /* we have an array, with the number of elements stored before the first object */
421 INT_PTR i, *ptr = (INT_PTR *)_this - 1;
422
423 for (i = *ptr - 1; i >= 0; i--) MSVCRT___non_rtti_object_dtor(_this + i);
425 }
426 else
427 {
429 if (flags & 1) MSVCRT_operator_delete(_this);
430 }
431 return _this;
432}
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
static PVOID ptr
Definition: dispmode.c:27
int32_t INT_PTR
Definition: typedefs.h:64

Referenced by __asm_dummy_vtables().

◆ MSVCRT_bad_cast_copy_ctor()

bad_cast *__thiscall MSVCRT_bad_cast_copy_ctor ( bad_cast *  _this,
const bad_cast *  rhs 
)

Definition at line 463 of file cpp.c.

464{
465 TRACE("(%p %p)\n", _this, rhs);
466 MSVCRT_exception_copy_ctor(_this, rhs);
467 _this->vtable = &MSVCRT_bad_cast_vtable;
468 return _this;
469}
const vtable_ptr MSVCRT_bad_cast_vtable
exception __thiscall MSVCRT_exception_copy_ctor(exception *_this, const exception *rhs)
Definition: cpp.c:173

◆ MSVCRT_bad_cast_ctor()

bad_cast *__thiscall MSVCRT_bad_cast_ctor ( bad_cast *  _this,
const char **  name 
)

Definition at line 451 of file cpp.c.

452{
453 TRACE("(%p %s)\n", _this, *name);
454 EXCEPTION_ctor(_this, name);
455 _this->vtable = &MSVCRT_bad_cast_vtable;
456 return _this;
457}

Referenced by MSVCRT___RTDynamicCast().

◆ MSVCRT_bad_cast_ctor_charptr()

bad_cast *__thiscall MSVCRT_bad_cast_ctor_charptr ( bad_cast *  _this,
const char name 
)

Definition at line 475 of file cpp.c.

476{
477 TRACE("(%p %s)\n", _this, name);
478 EXCEPTION_ctor(_this, &name);
479 _this->vtable = &MSVCRT_bad_cast_vtable;
480 return _this;
481}

Referenced by MSVCRT_bad_cast_default_ctor().

◆ MSVCRT_bad_cast_default_ctor()

bad_cast *__thiscall MSVCRT_bad_cast_default_ctor ( bad_cast *  _this)

Definition at line 487 of file cpp.c.

488{
489 return MSVCRT_bad_cast_ctor_charptr( _this, "bad cast" );
490}
bad_cast *__thiscall MSVCRT_bad_cast_ctor_charptr(bad_cast *_this, const char *name)
Definition: cpp.c:475

◆ MSVCRT_bad_cast_dtor()

void __thiscall MSVCRT_bad_cast_dtor ( bad_cast *  _this)

Definition at line 496 of file cpp.c.

497{
498 TRACE("(%p)\n", _this);
500}
void __thiscall MSVCRT_exception_dtor(exception *_this)
Definition: cpp.c:206

Referenced by MSVCRT_bad_cast_scalar_dtor(), and MSVCRT_bad_cast_vector_dtor().

◆ MSVCRT_bad_cast_opequals()

bad_cast *__thiscall MSVCRT_bad_cast_opequals ( bad_cast *  _this,
const bad_cast *  rhs 
)

Definition at line 506 of file cpp.c.

507{
508 TRACE("(%p %p)\n", _this, rhs);
509 MSVCRT_exception_opequals(_this, rhs);
510 return _this;
511}
exception __thiscall MSVCRT_exception_opequals(exception *_this, const exception *rhs)
Definition: cpp.c:217

◆ MSVCRT_bad_cast_scalar_dtor()

void *__thiscall MSVCRT_bad_cast_scalar_dtor ( bad_cast *  _this,
unsigned int  flags 
)

Definition at line 540 of file cpp.c.

541{
542 TRACE("(%p %x)\n", _this, flags);
544 if (flags & 1) MSVCRT_operator_delete(_this);
545 return _this;
546}
void __thiscall MSVCRT_bad_cast_dtor(bad_cast *_this)
Definition: cpp.c:496

◆ MSVCRT_bad_cast_vector_dtor()

void *__thiscall MSVCRT_bad_cast_vector_dtor ( bad_cast *  _this,
unsigned int  flags 
)

Definition at line 517 of file cpp.c.

518{
519 TRACE("(%p %x)\n", _this, flags);
520 if (flags & 2)
521 {
522 /* we have an array, with the number of elements stored before the first object */
523 INT_PTR i, *ptr = (INT_PTR *)_this - 1;
524
525 for (i = *ptr - 1; i >= 0; i--) MSVCRT_bad_cast_dtor(_this + i);
527 }
528 else
529 {
531 if (flags & 1) MSVCRT_operator_delete(_this);
532 }
533 return _this;
534}

Referenced by __asm_dummy_vtables().

◆ MSVCRT_bad_typeid_copy_ctor()

bad_typeid *__thiscall MSVCRT_bad_typeid_copy_ctor ( bad_typeid *  _this,
const bad_typeid *  rhs 
)

Definition at line 278 of file cpp.c.

279{
280 TRACE("(%p %p)\n", _this, rhs);
281 MSVCRT_exception_copy_ctor(_this, rhs);
282 _this->vtable = &MSVCRT_bad_typeid_vtable;
283 return _this;
284}
const vtable_ptr MSVCRT_bad_typeid_vtable

Referenced by MSVCRT___non_rtti_object_copy_ctor().

◆ MSVCRT_bad_typeid_ctor()

bad_typeid *__thiscall MSVCRT_bad_typeid_ctor ( bad_typeid *  _this,
const char name 
)

Definition at line 290 of file cpp.c.

291{
292 TRACE("(%p %s)\n", _this, name);
293 EXCEPTION_ctor(_this, &name);
294 _this->vtable = &MSVCRT_bad_typeid_vtable;
295 return _this;
296}

Referenced by MSVCRT___RTtypeid(), and MSVCRT_bad_typeid_default_ctor().

◆ MSVCRT_bad_typeid_default_ctor()

bad_typeid *__thiscall MSVCRT_bad_typeid_default_ctor ( bad_typeid *  _this)

Definition at line 302 of file cpp.c.

303{
304 return MSVCRT_bad_typeid_ctor( _this, "bad typeid" );
305}
bad_typeid *__thiscall MSVCRT_bad_typeid_ctor(bad_typeid *_this, const char *name)
Definition: cpp.c:290

◆ MSVCRT_bad_typeid_dtor()

void __thiscall MSVCRT_bad_typeid_dtor ( bad_typeid *  _this)

Definition at line 311 of file cpp.c.

312{
313 TRACE("(%p)\n", _this);
315}

Referenced by MSVCRT___non_rtti_object_dtor(), MSVCRT_bad_typeid_scalar_dtor(), and MSVCRT_bad_typeid_vector_dtor().

◆ MSVCRT_bad_typeid_opequals()

bad_typeid *__thiscall MSVCRT_bad_typeid_opequals ( bad_typeid *  _this,
const bad_typeid *  rhs 
)

Definition at line 321 of file cpp.c.

322{
323 TRACE("(%p %p)\n", _this, rhs);
324 MSVCRT_exception_opequals(_this, rhs);
325 return _this;
326}

Referenced by MSVCRT___non_rtti_object_opequals().

◆ MSVCRT_bad_typeid_scalar_dtor()

void *__thiscall MSVCRT_bad_typeid_scalar_dtor ( bad_typeid *  _this,
unsigned int  flags 
)

Definition at line 355 of file cpp.c.

356{
357 TRACE("(%p %x)\n", _this, flags);
359 if (flags & 1) MSVCRT_operator_delete(_this);
360 return _this;
361}

◆ MSVCRT_bad_typeid_vector_dtor()

void *__thiscall MSVCRT_bad_typeid_vector_dtor ( bad_typeid *  _this,
unsigned int  flags 
)

Definition at line 332 of file cpp.c.

333{
334 TRACE("(%p %x)\n", _this, flags);
335 if (flags & 2)
336 {
337 /* we have an array, with the number of elements stored before the first object */
338 INT_PTR i, *ptr = (INT_PTR *)_this - 1;
339
340 for (i = *ptr - 1; i >= 0; i--) MSVCRT_bad_typeid_dtor(_this + i);
342 }
343 else
344 {
346 if (flags & 1) MSVCRT_operator_delete(_this);
347 }
348 return _this;
349}

Referenced by __asm_dummy_vtables().

◆ MSVCRT_exception_copy_ctor()

exception __thiscall MSVCRT_exception_copy_ctor ( exception _this,
const exception rhs 
)

Definition at line 173 of file cpp.c.

174{
175 TRACE("(%p,%p)\n", _this, rhs);
176
177 if (!rhs->do_free)
178 {
180 _this->name = rhs->name;
181 _this->do_free = FALSE;
182 }
183 else
184 EXCEPTION_ctor(_this, (const char**)&rhs->name);
185 TRACE("name = %s\n", _this->name);
186 return _this;
187}
#define FALSE
Definition: types.h:117
const vtable_ptr MSVCRT_exception_vtable
char * name
Definition: cpp.c:28
vtable_ptr * vtable
Definition: cpp.c:27
int do_free
Definition: cpp.c:29

Referenced by MSVCRT_bad_cast_copy_ctor(), MSVCRT_bad_typeid_copy_ctor(), and MSVCRT_exception_opequals().

◆ MSVCRT_exception_ctor()

exception __thiscall MSVCRT_exception_ctor ( exception _this,
const char **  name 
)

Definition at line 149 of file cpp.c.

150{
151 TRACE("(%p,%s)\n", _this, *name);
152 EXCEPTION_ctor(_this, name);
153 return _this;
154}

◆ MSVCRT_exception_ctor_noalloc()

exception __thiscall MSVCRT_exception_ctor_noalloc ( exception _this,
char **  name,
int  noalloc 
)

Definition at line 160 of file cpp.c.

161{
162 TRACE("(%p,%s)\n", _this, *name);
164 _this->name = *name;
165 _this->do_free = FALSE;
166 return _this;
167}

◆ MSVCRT_exception_default_ctor()

exception __thiscall MSVCRT_exception_default_ctor ( exception _this)

Definition at line 193 of file cpp.c.

194{
195 static const char* empty = NULL;
196
197 TRACE("(%p)\n", _this);
198 EXCEPTION_ctor(_this, &empty);
199 return _this;
200}
#define NULL
Definition: types.h:112
static const WCHAR empty[]
Definition: main.c:47

◆ MSVCRT_exception_dtor()

void __thiscall MSVCRT_exception_dtor ( exception _this)

Definition at line 206 of file cpp.c.

207{
208 TRACE("(%p)\n", _this);
210 if (_this->do_free) MSVCRT_free(_this->name);
211}
#define MSVCRT_free
Definition: msvcrt.h:152

Referenced by MSVCRT_bad_cast_dtor(), MSVCRT_bad_typeid_dtor(), MSVCRT_exception_opequals(), MSVCRT_exception_scalar_dtor(), and MSVCRT_exception_vector_dtor().

◆ MSVCRT_exception_opequals()

exception __thiscall MSVCRT_exception_opequals ( exception _this,
const exception rhs 
)

Definition at line 217 of file cpp.c.

218{
219 TRACE("(%p %p)\n", _this, rhs);
220 if (_this != rhs)
221 {
223 MSVCRT_exception_copy_ctor(_this, rhs);
224 }
225 TRACE("name = %s\n", _this->name);
226 return _this;
227}

Referenced by MSVCRT_bad_cast_opequals(), and MSVCRT_bad_typeid_opequals().

◆ MSVCRT_exception_scalar_dtor()

void *__thiscall MSVCRT_exception_scalar_dtor ( exception _this,
unsigned int  flags 
)

Definition at line 256 of file cpp.c.

257{
258 TRACE("(%p %x)\n", _this, flags);
260 if (flags & 1) MSVCRT_operator_delete(_this);
261 return _this;
262}

◆ MSVCRT_exception_vector_dtor()

void *__thiscall MSVCRT_exception_vector_dtor ( exception _this,
unsigned int  flags 
)

Definition at line 233 of file cpp.c.

234{
235 TRACE("(%p %x)\n", _this, flags);
236 if (flags & 2)
237 {
238 /* we have an array, with the number of elements stored before the first object */
239 INT_PTR i, *ptr = (INT_PTR *)_this - 1;
240
241 for (i = *ptr - 1; i >= 0; i--) MSVCRT_exception_dtor(_this + i);
243 }
244 else
245 {
247 if (flags & 1) MSVCRT_operator_delete(_this);
248 }
249 return _this;
250}

Referenced by __asm_dummy_vtables().

◆ MSVCRT_type_info_before()

int __thiscall MSVCRT_type_info_before ( type_info _this,
const type_info rhs 
)

Definition at line 574 of file cpp.c.

575{
576 int ret = strcmp(_this->mangled + 1, rhs->mangled + 1) < 0;
577 TRACE("(%p %p) returning %d\n", _this, rhs, ret);
578 return ret;
579}
int strcmp(const char *String1, const char *String2)
Definition: utclib.c:469
char mangled[16]
Definition: cpp.c:36
int ret

◆ MSVCRT_type_info_dtor()

void __thiscall MSVCRT_type_info_dtor ( type_info _this)

Definition at line 585 of file cpp.c.

586{
587 TRACE("(%p)\n", _this);
588 MSVCRT_free(_this->name);
589}
char * name
Definition: cpp.c:35

Referenced by MSVCRT_type_info_vector_dtor().

◆ MSVCRT_type_info_name()

const char *__thiscall MSVCRT_type_info_name ( type_info _this)

Definition at line 595 of file cpp.c.

596{
597 if (!_this->name)
598 {
599 /* Create and set the demangled name */
600 /* Note: mangled name in type_info struct always starts with a '.', while
601 * it isn't valid for mangled name.
602 * Is this '.' really part of the mangled name, or has it some other meaning ?
603 */
604 char* name = __unDName(0, _this->mangled + 1, 0,
606 if (name)
607 {
608 unsigned int len = strlen(name);
609
610 /* It seems _unDName may leave blanks at the end of the demangled name */
611 while (len && name[--len] == ' ')
612 name[len] = '\0';
613
614 if (InterlockedCompareExchangePointer((void**)&_this->name, name, NULL))
615 {
616 /* Another thread set this member since we checked above - use it */
618 }
619 }
620 }
621 TRACE("(%p) returning %s\n", _this, _this->name);
622 return _this->name;
623}
ACPI_SIZE strlen(const char *String)
Definition: utclib.c:269
#define UNDNAME_32_BIT_DECODE
Definition: dbghelp.h:1264
#define UNDNAME_NO_ARGUMENTS
Definition: dbghelp.h:1266
GLenum GLsizei len
Definition: glext.h:6722
#define InterlockedCompareExchangePointer
Definition: interlocked.h:129
char *__cdecl __unDName(char *, const char *, int, malloc_func_t, free_func_t, unsigned short int)
Definition: undname.c:1647
#define MSVCRT_malloc
Definition: msvcrt.h:151

◆ MSVCRT_type_info_opequals_equals()

int __thiscall MSVCRT_type_info_opequals_equals ( type_info _this,
const type_info rhs 
)

Definition at line 552 of file cpp.c.

553{
554 int ret = !strcmp(_this->mangled + 1, rhs->mangled + 1);
555 TRACE("(%p %p) returning %d\n", _this, rhs, ret);
556 return ret;
557}

◆ MSVCRT_type_info_opnot_equals()

int __thiscall MSVCRT_type_info_opnot_equals ( type_info _this,
const type_info rhs 
)

Definition at line 563 of file cpp.c.

564{
565 int ret = !!strcmp(_this->mangled + 1, rhs->mangled + 1);
566 TRACE("(%p %p) returning %d\n", _this, rhs, ret);
567 return ret;
568}

◆ MSVCRT_type_info_raw_name()

const char *__thiscall MSVCRT_type_info_raw_name ( type_info _this)

Definition at line 629 of file cpp.c.

630{
631 TRACE("(%p) returning %s\n", _this, _this->mangled);
632 return _this->mangled;
633}

◆ MSVCRT_type_info_vector_dtor()

void *__thiscall MSVCRT_type_info_vector_dtor ( type_info _this,
unsigned int  flags 
)

Definition at line 637 of file cpp.c.

638{
639 TRACE("(%p %x)\n", _this, flags);
640 if (flags & 2)
641 {
642 /* we have an array, with the number of elements stored before the first object */
643 INT_PTR i, *ptr = (INT_PTR *)_this - 1;
644
645 for (i = *ptr - 1; i >= 0; i--) MSVCRT_type_info_dtor(_this + i);
647 }
648 else
649 {
651 if (flags & 1) MSVCRT_operator_delete(_this);
652 }
653 return _this;
654}
void __thiscall MSVCRT_type_info_dtor(type_info *_this)
Definition: cpp.c:585

Referenced by __asm_dummy_vtables().

◆ MSVCRT_what_exception()

const char *__thiscall MSVCRT_what_exception ( exception _this)

Definition at line 268 of file cpp.c.

269{
270 TRACE("(%p) returning %s\n", _this, _this->name);
271 return _this->name ? _this->name : "Unknown exception";
272}

Referenced by __asm_dummy_vtables().