ucrtbase: Add __current_exception() implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
cc131ec07e
commit
ae5d0b2229
|
@ -33,7 +33,7 @@
|
|||
@ cdecl __RTDynamicCast(ptr long ptr ptr long) ucrtbase.__RTDynamicCast
|
||||
@ cdecl __RTtypeid(ptr) ucrtbase.__RTtypeid
|
||||
@ stub __TypeMatch
|
||||
@ stub __current_exception
|
||||
@ cdecl __current_exception() ucrtbase.__current_exception
|
||||
@ stub __current_exception_context
|
||||
@ stub __dcrt_get_wide_environment_from_os
|
||||
@ stub __dcrt_initial_narrow_environment
|
||||
|
|
|
@ -508,4 +508,13 @@ void CDECL MSVCRT___std_exception_destroy(struct __std_exception_data *data)
|
|||
data->dofree = 0;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* __current_exception (UCRTBASE.@)
|
||||
*/
|
||||
void** CDECL __current_exception(void)
|
||||
{
|
||||
TRACE("()\n");
|
||||
return (void**)&msvcrt_get_thread_data()->exc_record;
|
||||
}
|
||||
|
||||
#endif /* _MSVCR_VER>=140 */
|
||||
|
|
|
@ -82,7 +82,7 @@
|
|||
@ stub __conio_common_vcwprintf_s
|
||||
@ stub __conio_common_vcwscanf
|
||||
@ cdecl -arch=i386 __control87_2(long long ptr ptr)
|
||||
@ stub __current_exception
|
||||
@ cdecl __current_exception()
|
||||
@ stub __current_exception_context
|
||||
@ cdecl __daylight() MSVCRT___p__daylight
|
||||
@ stub __dcrt_get_wide_environment_from_os
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
@ cdecl __RTDynamicCast(ptr long ptr ptr long) ucrtbase.__RTDynamicCast
|
||||
@ cdecl __RTtypeid(ptr) ucrtbase.__RTtypeid
|
||||
@ stub __TypeMatch
|
||||
@ stub __current_exception
|
||||
@ cdecl __current_exception() ucrtbase.__current_exception
|
||||
@ stub __current_exception_context
|
||||
@ cdecl -arch=i386,x86_64,arm,arm64 -norelay __intrinsic_setjmp(ptr) ucrtbase.__intrinsic_setjmp
|
||||
@ cdecl -arch=x86_64,arm64 -norelay __intrinsic_setjmpex(ptr ptr) ucrtbase.__intrinsic_setjmpex
|
||||
|
|
Loading…
Reference in New Issue