[CRT]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Fri, 13 May 2011 19:37:49 +0000 (19:37 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Fri, 13 May 2011 19:37:49 +0000 (19:37 +0000)
Merge r50693 from cmake banch:
_CxxThrowException is stdcall, not cdecl.

svn path=/trunk/; revision=51707

reactos/dll/win32/msvcrt/msvcrt.spec
reactos/dll/win32/msvcrt20/msvcrt20.spec
reactos/dll/win32/msvcrt40/msvcrt40.spec
reactos/lib/sdk/crt/except/cppexcept.c
reactos/lib/sdk/crt/include/internal/wine/cppexcept.h

index 1dc1b1e..b55f7aa 100644 (file)
@@ -99,7 +99,7 @@
 # stub _CrtSetReportHook
 # stub _CrtSetReportHook2
 # stub _CrtSetReportMode
-@ cdecl _CxxThrowException(long long)
+@ stdcall _CxxThrowException(long long)
 @ cdecl -i386 -norelay _EH_prolog()
 @ cdecl _Getdays()
 @ cdecl _Getmonths()
index 91e633c..dffade1 100644 (file)
 @ cdecl -arch=i386 _CIsqrt() msvcrt._CIsqrt
 @ cdecl -arch=i386 _CItan() msvcrt._CItan
 @ cdecl -arch=i386 _CItanh() msvcrt._CItanh
-@ cdecl _CxxThrowException(long long) msvcrt._CxxThrowException
+@ stdcall _CxxThrowException(long long) msvcrt._CxxThrowException
 @ extern _HUGE msvcrt._HUGE
 @ cdecl _XcptFilter(long ptr) msvcrt._XcptFilter
 @ cdecl -i386 __CxxFrameHandler(ptr ptr ptr ptr) msvcrt.__CxxFrameHandler
index fd2559a..3e43afa 100644 (file)
 @ cdecl -arch=i386 _CIsqrt() msvcrt._CIsqrt
 @ cdecl -arch=i386 _CItan() msvcrt._CItan
 @ cdecl -arch=i386 _CItanh() msvcrt._CItanh
-@ cdecl _CxxThrowException(long long) msvcrt._CxxThrowException
+@ stdcall _CxxThrowException(long long) msvcrt._CxxThrowException
 @ cdecl -i386 _EH_prolog() msvcrt._EH_prolog
 @ extern _HUGE msvcrt._HUGE
 @ cdecl _XcptFilter(long ptr) msvcrt._XcptFilter
index 5ff9e2b..17d6715 100644 (file)
@@ -490,7 +490,7 @@ int CDECL __CppXcptFilter(NTSTATUS ex, PEXCEPTION_POINTERS ptr)
 /*********************************************************************
  *             _CxxThrowException (MSVCRT.@)
  */
-void CDECL _CxxThrowException( exception *object, const cxx_exception_type *type )
+void WINAPI _CxxThrowException( exception *object, const cxx_exception_type *type )
 {
     ULONG_PTR args[3];
 
index 1d0942e..d1b60c3 100644 (file)
@@ -150,7 +150,7 @@ typedef struct __cxx_exception_type
     const cxx_type_info_table *type_info_table;  /* list of types for this exception object */
 } cxx_exception_type;
 
-void CDECL _CxxThrowException(exception*,const cxx_exception_type*);
+void WINAPI _CxxThrowException(exception*,const cxx_exception_type*);
 int CDECL _XcptFilter(NTSTATUS, PEXCEPTION_POINTERS);
 int CDECL __CppXcptFilter(NTSTATUS, PEXCEPTION_POINTERS);