msvcp: Use __ASM_USE_THISCALL_WRAPPER macro.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
feature/deterministic
Jacek Caban 2020-04-27 02:30:58 +02:00 committed by Alexandre Julliard
parent 4e44edd209
commit 12ead6742f
4 changed files with 4 additions and 4 deletions

View File

@ -263,7 +263,7 @@ static void init_ ## type ## _cxx(char *base) \
#define DEFINE_CXX_DATA4(name, cl1, cl2, cl3, cl4, dtor) \
DEFINE_CXX_DATA(name, 4, cl1, cl2, cl3, cl4, dtor)
#if defined(__i386__) && !defined(__MINGW32__)
#ifdef __ASM_USE_THISCALL_WRAPPER
#define CALL_VTBL_FUNC(this, off, ret, type, args) ((ret (WINAPI*)type)&vtbl_wrapper_##off)args

View File

@ -969,7 +969,7 @@ void __cdecl __ExceptionPtrCreate(exception_ptr *ep)
ep->ref = NULL;
}
#if defined(__i386__) && !defined(__MINGW32__)
#ifdef __ASM_USE_THISCALL_WRAPPER
extern void call_dtor(const cxx_exception_type *type, void *func, void *object);
__ASM_GLOBAL_FUNC( call_dtor,

View File

@ -711,7 +711,7 @@ unsigned int __cdecl _Random_device(void)
#endif
#if _MSVCP_VER >= 110
#if defined(__i386__) && !defined(__MINGW32__)
#ifdef __ASM_USE_THISCALL_WRAPPER
extern void *call_thiscall_func;
__ASM_GLOBAL_FUNC(call_thiscall_func,

View File

@ -26,7 +26,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(msvcp);
#if defined(__i386__) && !defined(__MINGW32__)
#ifdef __ASM_USE_THISCALL_WRAPPER
#define DEFINE_VTBL_WRAPPER(off) \
__ASM_GLOBAL_FUNC(vtbl_wrapper_ ## off, \