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
b16f552e
Commit
b16f552e
authored
Sep 22, 2020
by
Rémi Bernon
Committed by
Alexandre Julliard
Sep 22, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Use explicit CDECL in window_surface_funcs.
Signed-off-by:
Rémi Bernon
<
rbernon@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a404eb72
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
43 additions
and
43 deletions
+43
-43
gdi.c
dlls/gdi.exe16/gdi.c
+7
-7
win.c
dlls/user32/win.c
+7
-7
window.c
dlls/wineandroid.drv/window.c
+7
-7
surface.c
dlls/winemac.drv/surface.c
+8
-8
bitblt.c
dlls/winex11.drv/bitblt.c
+7
-7
gdi_driver.h
include/wine/gdi_driver.h
+7
-7
No files found.
dlls/gdi.exe16/gdi.c
View file @
b16f552e
...
...
@@ -449,7 +449,7 @@ static struct dib_window_surface *get_dib_surface( struct window_surface *surfac
/***********************************************************************
* dib_surface_lock
*/
static
void
dib_surface_lock
(
struct
window_surface
*
window_surface
)
static
void
CDECL
dib_surface_lock
(
struct
window_surface
*
window_surface
)
{
/* nothing to do */
}
...
...
@@ -457,7 +457,7 @@ static void dib_surface_lock( struct window_surface *window_surface )
/***********************************************************************
* dib_surface_unlock
*/
static
void
dib_surface_unlock
(
struct
window_surface
*
window_surface
)
static
void
CDECL
dib_surface_unlock
(
struct
window_surface
*
window_surface
)
{
/* nothing to do */
}
...
...
@@ -465,7 +465,7 @@ static void dib_surface_unlock( struct window_surface *window_surface )
/***********************************************************************
* dib_surface_get_bitmap_info
*/
static
void
*
dib_surface_get_bitmap_info
(
struct
window_surface
*
window_surface
,
BITMAPINFO
*
info
)
static
void
*
CDECL
dib_surface_get_bitmap_info
(
struct
window_surface
*
window_surface
,
BITMAPINFO
*
info
)
{
struct
dib_window_surface
*
surface
=
get_dib_surface
(
window_surface
);
...
...
@@ -476,7 +476,7 @@ static void *dib_surface_get_bitmap_info( struct window_surface *window_surface,
/***********************************************************************
* dib_surface_get_bounds
*/
static
RECT
*
dib_surface_get_bounds
(
struct
window_surface
*
window_surface
)
static
RECT
*
CDECL
dib_surface_get_bounds
(
struct
window_surface
*
window_surface
)
{
struct
dib_window_surface
*
surface
=
get_dib_surface
(
window_surface
);
...
...
@@ -486,7 +486,7 @@ static RECT *dib_surface_get_bounds( struct window_surface *window_surface )
/***********************************************************************
* dib_surface_set_region
*/
static
void
dib_surface_set_region
(
struct
window_surface
*
window_surface
,
HRGN
region
)
static
void
CDECL
dib_surface_set_region
(
struct
window_surface
*
window_surface
,
HRGN
region
)
{
/* nothing to do */
}
...
...
@@ -494,7 +494,7 @@ static void dib_surface_set_region( struct window_surface *window_surface, HRGN
/***********************************************************************
* dib_surface_flush
*/
static
void
dib_surface_flush
(
struct
window_surface
*
window_surface
)
static
void
CDECL
dib_surface_flush
(
struct
window_surface
*
window_surface
)
{
/* nothing to do */
}
...
...
@@ -502,7 +502,7 @@ static void dib_surface_flush( struct window_surface *window_surface )
/***********************************************************************
* dib_surface_destroy
*/
static
void
dib_surface_destroy
(
struct
window_surface
*
window_surface
)
static
void
CDECL
dib_surface_destroy
(
struct
window_surface
*
window_surface
)
{
struct
dib_window_surface
*
surface
=
get_dib_surface
(
window_surface
);
...
...
dlls/user32/win.c
View file @
b16f552e
...
...
@@ -528,17 +528,17 @@ BOOL is_desktop_window( HWND hwnd )
* Dummy window surface for windows that shouldn't get painted.
*/
static
void
dummy_surface_lock
(
struct
window_surface
*
window_surface
)
static
void
CDECL
dummy_surface_lock
(
struct
window_surface
*
window_surface
)
{
/* nothing to do */
}
static
void
dummy_surface_unlock
(
struct
window_surface
*
window_surface
)
static
void
CDECL
dummy_surface_unlock
(
struct
window_surface
*
window_surface
)
{
/* nothing to do */
}
static
void
*
dummy_surface_get_bitmap_info
(
struct
window_surface
*
window_surface
,
BITMAPINFO
*
info
)
static
void
*
CDECL
dummy_surface_get_bitmap_info
(
struct
window_surface
*
window_surface
,
BITMAPINFO
*
info
)
{
static
DWORD
dummy_data
;
...
...
@@ -556,23 +556,23 @@ static void *dummy_surface_get_bitmap_info( struct window_surface *window_surfac
return
&
dummy_data
;
}
static
RECT
*
dummy_surface_get_bounds
(
struct
window_surface
*
window_surface
)
static
RECT
*
CDECL
dummy_surface_get_bounds
(
struct
window_surface
*
window_surface
)
{
static
RECT
dummy_bounds
;
return
&
dummy_bounds
;
}
static
void
dummy_surface_set_region
(
struct
window_surface
*
window_surface
,
HRGN
region
)
static
void
CDECL
dummy_surface_set_region
(
struct
window_surface
*
window_surface
,
HRGN
region
)
{
/* nothing to do */
}
static
void
dummy_surface_flush
(
struct
window_surface
*
window_surface
)
static
void
CDECL
dummy_surface_flush
(
struct
window_surface
*
window_surface
)
{
/* nothing to do */
}
static
void
dummy_surface_destroy
(
struct
window_surface
*
window_surface
)
static
void
CDECL
dummy_surface_destroy
(
struct
window_surface
*
window_surface
)
{
/* nothing to do */
}
...
...
dlls/wineandroid.drv/window.c
View file @
b16f552e
...
...
@@ -656,7 +656,7 @@ static void apply_line_region( DWORD *dst, int width, int x, int y, const RECT *
/***********************************************************************
* android_surface_lock
*/
static
void
android_surface_lock
(
struct
window_surface
*
window_surface
)
static
void
CDECL
android_surface_lock
(
struct
window_surface
*
window_surface
)
{
struct
android_window_surface
*
surface
=
get_android_surface
(
window_surface
);
...
...
@@ -666,7 +666,7 @@ static void android_surface_lock( struct window_surface *window_surface )
/***********************************************************************
* android_surface_unlock
*/
static
void
android_surface_unlock
(
struct
window_surface
*
window_surface
)
static
void
CDECL
android_surface_unlock
(
struct
window_surface
*
window_surface
)
{
struct
android_window_surface
*
surface
=
get_android_surface
(
window_surface
);
...
...
@@ -676,7 +676,7 @@ static void android_surface_unlock( struct window_surface *window_surface )
/***********************************************************************
* android_surface_get_bitmap_info
*/
static
void
*
android_surface_get_bitmap_info
(
struct
window_surface
*
window_surface
,
BITMAPINFO
*
info
)
static
void
*
CDECL
android_surface_get_bitmap_info
(
struct
window_surface
*
window_surface
,
BITMAPINFO
*
info
)
{
struct
android_window_surface
*
surface
=
get_android_surface
(
window_surface
);
...
...
@@ -687,7 +687,7 @@ static void *android_surface_get_bitmap_info( struct window_surface *window_surf
/***********************************************************************
* android_surface_get_bounds
*/
static
RECT
*
android_surface_get_bounds
(
struct
window_surface
*
window_surface
)
static
RECT
*
CDECL
android_surface_get_bounds
(
struct
window_surface
*
window_surface
)
{
struct
android_window_surface
*
surface
=
get_android_surface
(
window_surface
);
...
...
@@ -697,7 +697,7 @@ static RECT *android_surface_get_bounds( struct window_surface *window_surface )
/***********************************************************************
* android_surface_set_region
*/
static
void
android_surface_set_region
(
struct
window_surface
*
window_surface
,
HRGN
region
)
static
void
CDECL
android_surface_set_region
(
struct
window_surface
*
window_surface
,
HRGN
region
)
{
struct
android_window_surface
*
surface
=
get_android_surface
(
window_surface
);
...
...
@@ -721,7 +721,7 @@ static void android_surface_set_region( struct window_surface *window_surface, H
/***********************************************************************
* android_surface_flush
*/
static
void
android_surface_flush
(
struct
window_surface
*
window_surface
)
static
void
CDECL
android_surface_flush
(
struct
window_surface
*
window_surface
)
{
struct
android_window_surface
*
surface
=
get_android_surface
(
window_surface
);
ANativeWindow_Buffer
buffer
;
...
...
@@ -804,7 +804,7 @@ static void android_surface_flush( struct window_surface *window_surface )
/***********************************************************************
* android_surface_destroy
*/
static
void
android_surface_destroy
(
struct
window_surface
*
window_surface
)
static
void
CDECL
android_surface_destroy
(
struct
window_surface
*
window_surface
)
{
struct
android_window_surface
*
surface
=
get_android_surface
(
window_surface
);
...
...
dlls/winemac.drv/surface.c
View file @
b16f552e
...
...
@@ -96,7 +96,7 @@ static void update_blit_data(struct macdrv_window_surface *surface)
/***********************************************************************
* macdrv_surface_lock
*/
static
void
macdrv_surface_lock
(
struct
window_surface
*
window_surface
)
static
void
CDECL
macdrv_surface_lock
(
struct
window_surface
*
window_surface
)
{
struct
macdrv_window_surface
*
surface
=
get_mac_surface
(
window_surface
);
...
...
@@ -106,7 +106,7 @@ static void macdrv_surface_lock(struct window_surface *window_surface)
/***********************************************************************
* macdrv_surface_unlock
*/
static
void
macdrv_surface_unlock
(
struct
window_surface
*
window_surface
)
static
void
CDECL
macdrv_surface_unlock
(
struct
window_surface
*
window_surface
)
{
struct
macdrv_window_surface
*
surface
=
get_mac_surface
(
window_surface
);
...
...
@@ -116,8 +116,8 @@ static void macdrv_surface_unlock(struct window_surface *window_surface)
/***********************************************************************
* macdrv_surface_get_bitmap_info
*/
static
void
*
macdrv_surface_get_bitmap_info
(
struct
window_surface
*
window_surface
,
BITMAPINFO
*
info
)
static
void
*
CDECL
macdrv_surface_get_bitmap_info
(
struct
window_surface
*
window_surface
,
BITMAPINFO
*
info
)
{
struct
macdrv_window_surface
*
surface
=
get_mac_surface
(
window_surface
);
...
...
@@ -128,7 +128,7 @@ static void *macdrv_surface_get_bitmap_info(struct window_surface *window_surfac
/***********************************************************************
* macdrv_surface_get_bounds
*/
static
RECT
*
macdrv_surface_get_bounds
(
struct
window_surface
*
window_surface
)
static
RECT
*
CDECL
macdrv_surface_get_bounds
(
struct
window_surface
*
window_surface
)
{
struct
macdrv_window_surface
*
surface
=
get_mac_surface
(
window_surface
);
...
...
@@ -138,7 +138,7 @@ static RECT *macdrv_surface_get_bounds(struct window_surface *window_surface)
/***********************************************************************
* macdrv_surface_set_region
*/
static
void
macdrv_surface_set_region
(
struct
window_surface
*
window_surface
,
HRGN
region
)
static
void
CDECL
macdrv_surface_set_region
(
struct
window_surface
*
window_surface
,
HRGN
region
)
{
struct
macdrv_window_surface
*
surface
=
get_mac_surface
(
window_surface
);
...
...
@@ -164,7 +164,7 @@ static void macdrv_surface_set_region(struct window_surface *window_surface, HRG
/***********************************************************************
* macdrv_surface_flush
*/
static
void
macdrv_surface_flush
(
struct
window_surface
*
window_surface
)
static
void
CDECL
macdrv_surface_flush
(
struct
window_surface
*
window_surface
)
{
struct
macdrv_window_surface
*
surface
=
get_mac_surface
(
window_surface
);
CGRect
rect
;
...
...
@@ -200,7 +200,7 @@ static void macdrv_surface_flush(struct window_surface *window_surface)
/***********************************************************************
* macdrv_surface_destroy
*/
static
void
macdrv_surface_destroy
(
struct
window_surface
*
window_surface
)
static
void
CDECL
macdrv_surface_destroy
(
struct
window_surface
*
window_surface
)
{
struct
macdrv_window_surface
*
surface
=
get_mac_surface
(
window_surface
);
...
...
dlls/winex11.drv/bitblt.c
View file @
b16f552e
...
...
@@ -1817,7 +1817,7 @@ failed:
/***********************************************************************
* x11drv_surface_lock
*/
static
void
x11drv_surface_lock
(
struct
window_surface
*
window_surface
)
static
void
CDECL
x11drv_surface_lock
(
struct
window_surface
*
window_surface
)
{
struct
x11drv_window_surface
*
surface
=
get_x11_surface
(
window_surface
);
...
...
@@ -1827,7 +1827,7 @@ static void x11drv_surface_lock( struct window_surface *window_surface )
/***********************************************************************
* x11drv_surface_unlock
*/
static
void
x11drv_surface_unlock
(
struct
window_surface
*
window_surface
)
static
void
CDECL
x11drv_surface_unlock
(
struct
window_surface
*
window_surface
)
{
struct
x11drv_window_surface
*
surface
=
get_x11_surface
(
window_surface
);
...
...
@@ -1837,7 +1837,7 @@ static void x11drv_surface_unlock( struct window_surface *window_surface )
/***********************************************************************
* x11drv_surface_get_bitmap_info
*/
static
void
*
x11drv_surface_get_bitmap_info
(
struct
window_surface
*
window_surface
,
BITMAPINFO
*
info
)
static
void
*
CDECL
x11drv_surface_get_bitmap_info
(
struct
window_surface
*
window_surface
,
BITMAPINFO
*
info
)
{
struct
x11drv_window_surface
*
surface
=
get_x11_surface
(
window_surface
);
...
...
@@ -1848,7 +1848,7 @@ static void *x11drv_surface_get_bitmap_info( struct window_surface *window_surfa
/***********************************************************************
* x11drv_surface_get_bounds
*/
static
RECT
*
x11drv_surface_get_bounds
(
struct
window_surface
*
window_surface
)
static
RECT
*
CDECL
x11drv_surface_get_bounds
(
struct
window_surface
*
window_surface
)
{
struct
x11drv_window_surface
*
surface
=
get_x11_surface
(
window_surface
);
...
...
@@ -1858,7 +1858,7 @@ static RECT *x11drv_surface_get_bounds( struct window_surface *window_surface )
/***********************************************************************
* x11drv_surface_set_region
*/
static
void
x11drv_surface_set_region
(
struct
window_surface
*
window_surface
,
HRGN
region
)
static
void
CDECL
x11drv_surface_set_region
(
struct
window_surface
*
window_surface
,
HRGN
region
)
{
RGNDATA
*
data
;
struct
x11drv_window_surface
*
surface
=
get_x11_surface
(
window_surface
);
...
...
@@ -1889,7 +1889,7 @@ static void x11drv_surface_set_region( struct window_surface *window_surface, HR
/***********************************************************************
* x11drv_surface_flush
*/
static
void
x11drv_surface_flush
(
struct
window_surface
*
window_surface
)
static
void
CDECL
x11drv_surface_flush
(
struct
window_surface
*
window_surface
)
{
struct
x11drv_window_surface
*
surface
=
get_x11_surface
(
window_surface
);
unsigned
char
*
src
=
surface
->
bits
;
...
...
@@ -1956,7 +1956,7 @@ static void x11drv_surface_flush( struct window_surface *window_surface )
/***********************************************************************
* x11drv_surface_destroy
*/
static
void
x11drv_surface_destroy
(
struct
window_surface
*
window_surface
)
static
void
CDECL
x11drv_surface_destroy
(
struct
window_surface
*
window_surface
)
{
struct
x11drv_window_surface
*
surface
=
get_x11_surface
(
window_surface
);
...
...
include/wine/gdi_driver.h
View file @
b16f552e
...
...
@@ -236,13 +236,13 @@ struct window_surface;
struct
window_surface_funcs
{
void
(
*
lock
)(
struct
window_surface
*
surface
);
void
(
*
unlock
)(
struct
window_surface
*
surface
);
void
*
(
*
get_info
)(
struct
window_surface
*
surface
,
BITMAPINFO
*
info
);
RECT
*
(
*
get_bounds
)(
struct
window_surface
*
surface
);
void
(
*
set_region
)(
struct
window_surface
*
surface
,
HRGN
region
);
void
(
*
flush
)(
struct
window_surface
*
surface
);
void
(
*
destroy
)(
struct
window_surface
*
surface
);
void
(
CDECL
*
lock
)(
struct
window_surface
*
surface
);
void
(
CDECL
*
unlock
)(
struct
window_surface
*
surface
);
void
*
(
CDECL
*
get_info
)(
struct
window_surface
*
surface
,
BITMAPINFO
*
info
);
RECT
*
(
CDECL
*
get_bounds
)(
struct
window_surface
*
surface
);
void
(
CDECL
*
set_region
)(
struct
window_surface
*
surface
,
HRGN
region
);
void
(
CDECL
*
flush
)(
struct
window_surface
*
surface
);
void
(
CDECL
*
destroy
)(
struct
window_surface
*
surface
);
};
struct
window_surface
...
...
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