Martin Storsjo : ucrtbase: Hook up the _set_app_type, _set_new_handler and _set_new_mode functions.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Aug 27 08:25:34 CDT 2015


Module: wine
Branch: master
Commit: 8c5057f33467510032519bd90bb696a0fbc4cba5
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8c5057f33467510032519bd90bb696a0fbc4cba5

Author: Martin Storsjo <martin at martin.st>
Date:   Wed Aug 26 10:24:30 2015 +0300

ucrtbase: Hook up the _set_app_type, _set_new_handler and _set_new_mode functions.

These have changed function signature since msvcr120. _set_app_type used
to be called __set_app_type, and the _set_new_* functions used to have
C++ signatures.

---

 dlls/api-ms-win-crt-heap-l1-1-0/api-ms-win-crt-heap-l1-1-0.spec     | 2 +-
 .../api-ms-win-crt-runtime-l1-1-0.spec                              | 4 ++--
 dlls/ucrtbase/ucrtbase.spec                                         | 6 +++---
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dlls/api-ms-win-crt-heap-l1-1-0/api-ms-win-crt-heap-l1-1-0.spec b/dlls/api-ms-win-crt-heap-l1-1-0/api-ms-win-crt-heap-l1-1-0.spec
index 5ae19b4..18ca9d4 100644
--- a/dlls/api-ms-win-crt-heap-l1-1-0/api-ms-win-crt-heap-l1-1-0.spec
+++ b/dlls/api-ms-win-crt-heap-l1-1-0/api-ms-win-crt-heap-l1-1-0.spec
@@ -20,7 +20,7 @@
 @ stub _query_new_mode
 @ stub _realloc_base
 @ cdecl _recalloc(ptr long long) ucrtbase._recalloc
-@ stub _set_new_mode
+@ cdecl _set_new_mode(long) ucrtbase._set_new_mode
 @ cdecl calloc(long long) ucrtbase.calloc
 @ cdecl free(ptr) ucrtbase.free
 @ cdecl malloc(long) ucrtbase.malloc
diff --git a/dlls/api-ms-win-crt-runtime-l1-1-0/api-ms-win-crt-runtime-l1-1-0.spec b/dlls/api-ms-win-crt-runtime-l1-1-0/api-ms-win-crt-runtime-l1-1-0.spec
index 561340d..8e8fd08 100644
--- a/dlls/api-ms-win-crt-runtime-l1-1-0/api-ms-win-crt-runtime-l1-1-0.spec
+++ b/dlls/api-ms-win-crt-runtime-l1-1-0/api-ms-win-crt-runtime-l1-1-0.spec
@@ -66,13 +66,13 @@
 @ stub _seh_filter_dll
 @ stub _seh_filter_exe
 @ cdecl _set_abort_behavior(long long) ucrtbase._set_abort_behavior
-@ stub _set_app_type
+@ cdecl _set_app_type(long) ucrtbase._set_app_type
 @ cdecl _set_controlfp(long long) ucrtbase._set_controlfp
 @ cdecl _set_doserrno(long) ucrtbase._set_doserrno
 @ cdecl _set_errno(long) ucrtbase._set_errno
 @ cdecl _set_error_mode(long) ucrtbase._set_error_mode
 @ cdecl _set_invalid_parameter_handler(ptr) ucrtbase._set_invalid_parameter_handler
-@ stub _set_new_handler
+@ cdecl _set_new_handler(ptr) ucrtbase._set_new_handler
 @ stub _set_thread_local_invalid_parameter_handler
 @ cdecl _seterrormode(long) ucrtbase._seterrormode
 @ cdecl _sleep(long) ucrtbase._sleep
diff --git a/dlls/ucrtbase/ucrtbase.spec b/dlls/ucrtbase/ucrtbase.spec
index d6516d7..aacffb8 100644
--- a/dlls/ucrtbase/ucrtbase.spec
+++ b/dlls/ucrtbase/ucrtbase.spec
@@ -1881,15 +1881,15 @@
 @ stdcall -arch=i386 _seh_longjmp_unwind(ptr)
 @ cdecl -arch=i386 _set_SSE2_enable(long) MSVCRT__set_SSE2_enable
 @ cdecl _set_abort_behavior(long long) MSVCRT__set_abort_behavior
-@ stub _set_app_type
+@ cdecl _set_app_type(long) MSVCRT___set_app_type
 @ cdecl _set_controlfp(long long)
 @ cdecl _set_doserrno(long)
 @ cdecl _set_errno(long)
 @ cdecl _set_error_mode(long)
 @ cdecl _set_fmode(long) MSVCRT__set_fmode
 @ cdecl _set_invalid_parameter_handler(ptr)
-@ stub _set_new_handler
-@ stub _set_new_mode
+@ cdecl _set_new_handler(ptr) MSVCRT_set_new_handler
+@ cdecl _set_new_mode(long) MSVCRT__set_new_mode
 @ cdecl _set_printf_count_output(long) MSVCRT__set_printf_count_output
 @ cdecl _set_purecall_handler(ptr)
 @ stub _set_se_translator




More information about the wine-cvs mailing list