msvcr120: Add __ExceptionPtrToBool implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
62d4e5e6fa
commit
4f8aafbe28
|
@ -704,8 +704,8 @@
|
|||
@ cdecl -arch=win64 ?__ExceptionPtrRethrow@@YAXPEBX@Z(ptr) __ExceptionPtrRethrow
|
||||
@ stub -arch=win32 ?__ExceptionPtrSwap@@YAXPAX0@Z
|
||||
@ stub -arch=win64 ?__ExceptionPtrSwap@@YAXPEAX0@Z
|
||||
@ stub -arch=win32 ?__ExceptionPtrToBool@@YA_NPBX@Z
|
||||
@ stub -arch=win64 ?__ExceptionPtrToBool@@YA_NPEBX@Z
|
||||
@ cdecl -arch=win32 ?__ExceptionPtrToBool@@YA_NPBX@Z(ptr) __ExceptionPtrToBool
|
||||
@ cdecl -arch=win64 ?__ExceptionPtrToBool@@YA_NPEBX@Z(ptr) __ExceptionPtrToBool
|
||||
@ cdecl __uncaught_exception() MSVCRT___uncaught_exception
|
||||
@ stub ?_inconsistency@@YAXXZ
|
||||
@ cdecl -arch=win32 ?_invalid_parameter@@YAXPBG00II@Z(wstr wstr wstr long long) MSVCRT__invalid_parameter
|
||||
|
|
|
@ -686,8 +686,8 @@
|
|||
@ cdecl -arch=win64 ?__ExceptionPtrRethrow@@YAXPEBX@Z(ptr) __ExceptionPtrRethrow
|
||||
@ stub -arch=win32 ?__ExceptionPtrSwap@@YAXPAX0@Z
|
||||
@ stub -arch=win64 ?__ExceptionPtrSwap@@YAXPEAX0@Z
|
||||
@ stub -arch=win32 ?__ExceptionPtrToBool@@YA_NPBX@Z
|
||||
@ stub -arch=win64 ?__ExceptionPtrToBool@@YA_NPEBX@Z
|
||||
@ cdecl -arch=win32 ?__ExceptionPtrToBool@@YA_NPBX@Z(ptr) __ExceptionPtrToBool
|
||||
@ cdecl -arch=win64 ?__ExceptionPtrToBool@@YA_NPEBX@Z(ptr) __ExceptionPtrToBool
|
||||
@ cdecl __uncaught_exception() MSVCRT___uncaught_exception
|
||||
@ stub ?_inconsistency@@YAXXZ
|
||||
@ cdecl -arch=win32 ?_invalid_parameter@@YAXPBG00II@Z(wstr wstr wstr long long) MSVCRT__invalid_parameter
|
||||
|
|
|
@ -682,8 +682,8 @@
|
|||
@ cdecl -arch=win64 ?__ExceptionPtrRethrow@@YAXPEBX@Z(ptr) msvcr120.?__ExceptionPtrRethrow@@YAXPEBX@Z
|
||||
@ stub -arch=win32 ?__ExceptionPtrSwap@@YAXPAX0@Z
|
||||
@ stub -arch=win64 ?__ExceptionPtrSwap@@YAXPEAX0@Z
|
||||
@ stub -arch=win32 ?__ExceptionPtrToBool@@YA_NPBX@Z
|
||||
@ stub -arch=win64 ?__ExceptionPtrToBool@@YA_NPEBX@Z
|
||||
@ cdecl -arch=win32 ?__ExceptionPtrToBool@@YA_NPBX@Z(ptr) msvcr120.?__ExceptionPtrToBool@@YA_NPBX@Z
|
||||
@ cdecl -arch=win64 ?__ExceptionPtrToBool@@YA_NPEBX@Z(ptr) msvcr120.?__ExceptionPtrToBool@@YA_NPEBX@Z
|
||||
@ cdecl __uncaught_exception() msvcr120.__uncaught_exception
|
||||
@ stub ?_inconsistency@@YAXXZ
|
||||
@ cdecl -arch=win32 ?_invalid_parameter@@YAXPBG00II@Z(wstr wstr wstr long long) msvcr120.?_invalid_parameter@@YAXPBG00II@Z
|
||||
|
|
|
@ -1500,6 +1500,15 @@ void __cdecl __ExceptionPtrCurrentException(exception_ptr *ep)
|
|||
}
|
||||
#endif
|
||||
|
||||
/*********************************************************************
|
||||
* ?__ExceptionPtrToBool@@YA_NPBX@Z
|
||||
* ?__ExceptionPtrToBool@@YA_NPEBX@Z
|
||||
*/
|
||||
MSVCRT_bool __cdecl __ExceptionPtrToBool(exception_ptr *ep)
|
||||
{
|
||||
return !!ep->rec;
|
||||
}
|
||||
|
||||
void* __cdecl __AdjustPointer(void *obj, const this_ptr_offsets *off)
|
||||
{
|
||||
return get_this_pointer(off, obj);
|
||||
|
|
Loading…
Reference in New Issue