msvcrt: Add __ExceptionPtrCompare implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7ec727b31c
commit
cf7f632b31
|
@ -1691,8 +1691,8 @@
|
|||
@ cdecl -arch=win64 ?_Xruntime_error@std@@YAXPEBD@Z(str) _Xruntime_error
|
||||
@ stub -arch=win32 ?__ExceptionPtrAssign@@YAXPAXPBX@Z
|
||||
@ stub -arch=win64 ?__ExceptionPtrAssign@@YAXPEAXPEBX@Z
|
||||
@ stub -arch=win32 ?__ExceptionPtrCompare@@YA_NPBX0@Z
|
||||
@ stub -arch=win64 ?__ExceptionPtrCompare@@YA_NPEBX0@Z
|
||||
@ cdecl -arch=win32 ?__ExceptionPtrCompare@@YA_NPBX0@Z(ptr ptr) msvcr120.?__ExceptionPtrCompare@@YA_NPBX0@Z
|
||||
@ cdecl -arch=win64 ?__ExceptionPtrCompare@@YA_NPEBX0@Z(ptr ptr) msvcr120.?__ExceptionPtrCompare@@YA_NPEBX0@Z
|
||||
@ cdecl -arch=win32 ?__ExceptionPtrCopy@@YAXPAXPBX@Z(ptr ptr) msvcr120.?__ExceptionPtrCopy@@YAXPAXPBX@Z
|
||||
@ cdecl -arch=win64 ?__ExceptionPtrCopy@@YAXPEAXPEBX@Z(ptr ptr) msvcr120.?__ExceptionPtrCopy@@YAXPEAXPEBX@Z
|
||||
@ cdecl -arch=win32 ?__ExceptionPtrCopyException@@YAXPAXPBX1@Z(ptr ptr ptr) msvcr120.?__ExceptionPtrCopyException@@YAXPAXPBX1@Z
|
||||
|
|
|
@ -410,8 +410,8 @@
|
|||
@ cdecl ?_Value@_SpinCount@details@Concurrency@@SAIXZ() SpinCount__Value
|
||||
@ stub -arch=win32 ?__ExceptionPtrAssign@@YAXPAXPBX@Z
|
||||
@ stub -arch=win64 ?__ExceptionPtrAssign@@YAXPEAXPEBX@Z
|
||||
@ stub -arch=win32 ?__ExceptionPtrCompare@@YA_NPBX0@Z
|
||||
@ stub -arch=win64 ?__ExceptionPtrCompare@@YA_NPEBX0@Z
|
||||
@ cdecl -arch=win32 ?__ExceptionPtrCompare@@YA_NPBX0@Z(ptr ptr) __ExceptionPtrCompare
|
||||
@ cdecl -arch=win64 ?__ExceptionPtrCompare@@YA_NPEBX0@Z(ptr ptr) __ExceptionPtrCompare
|
||||
@ cdecl -arch=win32 ?__ExceptionPtrCopy@@YAXPAXPBX@Z(ptr ptr) __ExceptionPtrCopy
|
||||
@ cdecl -arch=win64 ?__ExceptionPtrCopy@@YAXPEAXPEBX@Z(ptr ptr) __ExceptionPtrCopy
|
||||
@ cdecl -arch=win32 ?__ExceptionPtrCopyException@@YAXPAXPBX1@Z(ptr ptr ptr) __ExceptionPtrCopyException
|
||||
|
|
|
@ -688,8 +688,8 @@
|
|||
@ stub ?_Yield@_Context@details@Concurrency@@SAXXZ
|
||||
@ stub -arch=win32 ?__ExceptionPtrAssign@@YAXPAXPBX@Z
|
||||
@ stub -arch=win64 ?__ExceptionPtrAssign@@YAXPEAXPEBX@Z
|
||||
@ stub -arch=win32 ?__ExceptionPtrCompare@@YA_NPBX0@Z
|
||||
@ stub -arch=win64 ?__ExceptionPtrCompare@@YA_NPEBX0@Z
|
||||
@ cdecl -arch=win32 ?__ExceptionPtrCompare@@YA_NPBX0@Z(ptr ptr) __ExceptionPtrCompare
|
||||
@ cdecl -arch=win64 ?__ExceptionPtrCompare@@YA_NPEBX0@Z(ptr ptr) __ExceptionPtrCompare
|
||||
@ cdecl -arch=win32 ?__ExceptionPtrCopy@@YAXPAXPBX@Z(ptr ptr) __ExceptionPtrCopy
|
||||
@ cdecl -arch=win64 ?__ExceptionPtrCopy@@YAXPEAXPEBX@Z(ptr ptr) __ExceptionPtrCopy
|
||||
@ cdecl -arch=win32 ?__ExceptionPtrCopyException@@YAXPAXPBX1@Z(ptr ptr ptr) __ExceptionPtrCopyException
|
||||
|
|
|
@ -670,8 +670,8 @@
|
|||
@ stub ?_Yield@_Context@details@Concurrency@@SAXXZ
|
||||
@ stub -arch=win32 ?__ExceptionPtrAssign@@YAXPAXPBX@Z
|
||||
@ stub -arch=win64 ?__ExceptionPtrAssign@@YAXPEAXPEBX@Z
|
||||
@ stub -arch=win32 ?__ExceptionPtrCompare@@YA_NPBX0@Z
|
||||
@ stub -arch=win64 ?__ExceptionPtrCompare@@YA_NPEBX0@Z
|
||||
@ cdecl -arch=win32 ?__ExceptionPtrCompare@@YA_NPBX0@Z(ptr ptr) __ExceptionPtrCompare
|
||||
@ cdecl -arch=win64 ?__ExceptionPtrCompare@@YA_NPEBX0@Z(ptr ptr) __ExceptionPtrCompare
|
||||
@ cdecl -arch=win32 ?__ExceptionPtrCopy@@YAXPAXPBX@Z(ptr ptr) __ExceptionPtrCopy
|
||||
@ cdecl -arch=win64 ?__ExceptionPtrCopy@@YAXPEAXPEBX@Z(ptr ptr) __ExceptionPtrCopy
|
||||
@ cdecl -arch=win32 ?__ExceptionPtrCopyException@@YAXPAXPBX1@Z(ptr ptr ptr) __ExceptionPtrCopyException
|
||||
|
|
|
@ -666,8 +666,8 @@
|
|||
@ stub ?_Yield@_Context@details@Concurrency@@SAXXZ
|
||||
@ stub -arch=win32 ?__ExceptionPtrAssign@@YAXPAXPBX@Z
|
||||
@ stub -arch=win64 ?__ExceptionPtrAssign@@YAXPEAXPEBX@Z
|
||||
@ stub -arch=win32 ?__ExceptionPtrCompare@@YA_NPBX0@Z
|
||||
@ stub -arch=win64 ?__ExceptionPtrCompare@@YA_NPEBX0@Z
|
||||
@ cdecl -arch=win32 ?__ExceptionPtrCompare@@YA_NPBX0@Z(ptr ptr) msvcr120.?__ExceptionPtrCompare@@YA_NPBX0@Z
|
||||
@ cdecl -arch=win64 ?__ExceptionPtrCompare@@YA_NPEBX0@Z(ptr ptr) msvcr120.?__ExceptionPtrCompare@@YA_NPEBX0@Z
|
||||
@ cdecl -arch=win32 ?__ExceptionPtrCopy@@YAXPAXPBX@Z(ptr ptr) msvcr120.?__ExceptionPtrCopy@@YAXPAXPBX@Z
|
||||
@ cdecl -arch=win64 ?__ExceptionPtrCopy@@YAXPEAXPEBX@Z(ptr ptr) msvcr120.?__ExceptionPtrCopy@@YAXPEAXPEBX@Z
|
||||
@ cdecl -arch=win32 ?__ExceptionPtrCopyException@@YAXPAXPBX1@Z(ptr ptr ptr) msvcr120.?__ExceptionPtrCopyException@@YAXPAXPBX1@Z
|
||||
|
|
|
@ -1671,6 +1671,11 @@ void __cdecl __ExceptionPtrCopyException(exception_ptr *ep,
|
|||
}
|
||||
#endif
|
||||
|
||||
MSVCRT_bool __cdecl __ExceptionPtrCompare(const exception_ptr *ep1, const exception_ptr *ep2)
|
||||
{
|
||||
return ep1->rec == ep2->rec;
|
||||
}
|
||||
|
||||
void* __cdecl __AdjustPointer(void *obj, const this_ptr_offsets *off)
|
||||
{
|
||||
return get_this_pointer(off, obj);
|
||||
|
|
Loading…
Reference in New Issue