ucrtbase: Implement __std_type_info_compare.
Signed-off-by: Martin Storsjo <martin@martin.st> Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5b53c0b88b
commit
78ce165f11
|
@ -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
|
||||
|
|
|
@ -574,6 +574,16 @@ int __thiscall MSVCRT_type_info_before(type_info * _this, const type_info * rhs)
|
|||
return ret;
|
||||
}
|
||||
|
||||
/******************************************************************
|
||||
* __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.@)
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue