Commit 78ce165f authored by Martin Storsjo's avatar Martin Storsjo Committed by Alexandre Julliard

ucrtbase: Implement __std_type_info_compare.

parent 5b53c0b8
......@@ -44,7 +44,7 @@
@ stub __report_gsfailure
@ stub __std_exception_copy
@ stub __std_exception_destroy
@ stub __std_type_info_compare
@ cdecl __std_type_info_compare(ptr ptr) ucrtbase.__std_type_info_compare
@ stub __std_type_info_destroy_list
@ stub __std_type_info_hash
@ stub __std_type_info_name
......
......@@ -575,6 +575,16 @@ int __thiscall MSVCRT_type_info_before(type_info * _this, const type_info * rhs)
}
/******************************************************************
* __std_type_info_compare (MSVCRT.@)
*/
int CDECL MSVCRT_type_info_compare(type_info * _this, const type_info * rhs)
{
int ret = strcmp(_this->mangled + 1, rhs->mangled + 1);
TRACE("(%p %p) returning %d\n", _this, rhs, ret);
return ret;
}
/******************************************************************
* ??1type_info@@UAE@XZ (MSVCRT.@)
*/
DEFINE_THISCALL_WRAPPER(MSVCRT_type_info_dtor,4)
......
......@@ -142,7 +142,7 @@
@ cdecl __setusermatherr(ptr) MSVCRT___setusermatherr
@ stub __std_exception_copy
@ stub __std_exception_destroy
@ stub __std_type_info_compare
@ cdecl __std_type_info_compare(ptr ptr) MSVCRT_type_info_compare
@ stub __std_type_info_destroy_list
@ stub __std_type_info_hash
@ stub __std_type_info_name
......
......@@ -39,7 +39,7 @@
@ stub __std_exception_copy
@ stub __std_exception_destroy
@ stub __std_terminate
@ stub __std_type_info_compare
@ cdecl __std_type_info_compare(ptr ptr) ucrtbase.__std_type_info_compare
@ stub __std_type_info_destroy_list
@ stub __std_type_info_hash
@ stub __std_type_info_name
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment