Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
a404eb72
Commit
a404eb72
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 gdi_image_bits.
Signed-off-by:
Rémi Bernon
<
rbernon@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9c8dce21
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
7 deletions
+7
-7
bitblt.c
dlls/gdi32/bitblt.c
+1
-1
dc.c
dlls/gdi32/dibdrv/dc.c
+1
-1
gdi_private.h
dlls/gdi32/gdi_private.h
+1
-1
bitmap.c
dlls/wineps.drv/bitmap.c
+1
-1
bitblt.c
dlls/winex11.drv/bitblt.c
+2
-2
gdi_driver.h
include/wine/gdi_driver.h
+1
-1
No files found.
dlls/gdi32/bitblt.c
View file @
a404eb72
...
...
@@ -163,7 +163,7 @@ static BOOL get_vis_rectangles( DC *dc_dst, struct bitblt_coords *dst,
return
intersect_vis_rectangles
(
dst
,
src
);
}
void
free_heap_bits
(
struct
gdi_image_bits
*
bits
)
void
CDECL
free_heap_bits
(
struct
gdi_image_bits
*
bits
)
{
HeapFree
(
GetProcessHeap
(),
0
,
bits
->
ptr
);
}
...
...
dlls/gdi32/dibdrv/dc.c
View file @
a404eb72
...
...
@@ -565,7 +565,7 @@ static inline void unlock_surface( struct windrv_physdev *dev )
if
(
GetTickCount
()
-
dev
->
start_ticks
>
FLUSH_PERIOD
)
dev
->
surface
->
funcs
->
flush
(
dev
->
surface
);
}
static
void
unlock_bits_surface
(
struct
gdi_image_bits
*
bits
)
static
void
CDECL
unlock_bits_surface
(
struct
gdi_image_bits
*
bits
)
{
struct
window_surface
*
surface
=
bits
->
param
;
surface
->
funcs
->
unlock
(
surface
);
...
...
dlls/gdi32/gdi_private.h
View file @
a404eb72
...
...
@@ -620,7 +620,7 @@ static inline void copy_bitmapinfo( BITMAPINFO *dst, const BITMAPINFO *src )
memcpy
(
dst
,
src
,
get_dib_info_size
(
src
,
DIB_RGB_COLORS
));
}
extern
void
free_heap_bits
(
struct
gdi_image_bits
*
bits
)
DECLSPEC_HIDDEN
;
extern
void
CDECL
free_heap_bits
(
struct
gdi_image_bits
*
bits
)
DECLSPEC_HIDDEN
;
extern
HMODULE
gdi32_module
DECLSPEC_HIDDEN
;
...
...
dlls/wineps.drv/bitmap.c
View file @
a404eb72
...
...
@@ -148,7 +148,7 @@ static inline DWORD max_ascii85_size(DWORD size)
return
(
size
+
3
)
/
4
*
5
;
}
static
void
free_heap_bits
(
struct
gdi_image_bits
*
bits
)
static
void
CDECL
free_heap_bits
(
struct
gdi_image_bits
*
bits
)
{
HeapFree
(
GetProcessHeap
(),
0
,
bits
->
ptr
);
}
...
...
dlls/winex11.drv/bitblt.c
View file @
a404eb72
...
...
@@ -914,12 +914,12 @@ BOOL CDECL X11DRV_StretchBlt( PHYSDEV dst_dev, struct bitblt_coords *dst,
}
static
void
free_heap_bits
(
struct
gdi_image_bits
*
bits
)
static
void
CDECL
free_heap_bits
(
struct
gdi_image_bits
*
bits
)
{
HeapFree
(
GetProcessHeap
(),
0
,
bits
->
ptr
);
}
static
void
free_ximage_bits
(
struct
gdi_image_bits
*
bits
)
static
void
CDECL
free_ximage_bits
(
struct
gdi_image_bits
*
bits
)
{
XFree
(
bits
->
ptr
);
}
...
...
include/wine/gdi_driver.h
View file @
a404eb72
...
...
@@ -54,7 +54,7 @@ struct gdi_image_bits
{
void
*
ptr
;
/* pointer to the bits */
BOOL
is_copy
;
/* whether this is a copy of the bits that can be modified */
void
(
*
free
)(
struct
gdi_image_bits
*
);
/* callback for freeing the bits */
void
(
CDECL
*
free
)(
struct
gdi_image_bits
*
);
/* callback for freeing the bits */
void
*
param
;
/* extra parameter for callback private use */
};
...
...
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