Commit ae5d0b22 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

ucrtbase: Add __current_exception() implementation.

parent cc131ec0
......@@ -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
......
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