Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
650aebad
Commit
650aebad
authored
Apr 27, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Use __ASM_USE_THISCALL_WRAPPER macro.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
270599cc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
editor.h
dlls/riched20/editor.h
+1
-1
editstr.h
dlls/riched20/editstr.h
+1
-1
txthost.c
dlls/riched20/txthost.c
+1
-1
No files found.
dlls/riched20/editor.h
View file @
650aebad
...
...
@@ -276,7 +276,7 @@ void ME_InitTableDef(ME_TextEditor *editor, struct RTFTable *tableDef) DECLSPEC_
/* txthost.c */
ITextHost
*
ME_CreateTextHost
(
HWND
hwnd
,
CREATESTRUCTW
*
cs
,
BOOL
bEmulateVersion10
)
DECLSPEC_HIDDEN
;
#if
defined(__i386__) && !defined(__MINGW32__)
/* Use wrappers to perform thiscall on i386 */
#if
def __ASM_USE_THISCALL_WRAPPER
#define TXTHOST_VTABLE(This) (&itextHostStdcallVtbl)
#else
/* __i386__ */
#define TXTHOST_VTABLE(This) (This)->lpVtbl
...
...
dlls/riched20/editstr.h
View file @
650aebad
...
...
@@ -47,7 +47,7 @@
#include "wine/heap.h"
#include "wine/list.h"
#if
defined(__i386__) && !defined(__MINGW32__)
#if
def __ASM_USE_THISCALL_WRAPPER
extern
const
struct
ITextHostVtbl
itextHostStdcallVtbl
DECLSPEC_HIDDEN
;
#endif
/* __i386__ */
...
...
dlls/riched20/txthost.c
View file @
650aebad
...
...
@@ -522,7 +522,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall ITextHostImpl_TxGetSelectionBarWidth(ITextHos
}
#if
defined(__i386__) && !defined(__MINGW32__)
/* thiscall functions are i386-specific */
#if
def __ASM_USE_THISCALL_WRAPPER
#define STDCALL(func) (void *) __stdcall_ ## func
#ifdef _MSC_VER
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment