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
b55d7aae
Commit
b55d7aae
authored
Apr 03, 2013
by
Ken Thomases
Committed by
Alexandre Julliard
Apr 04, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemac: Constify some macdrv_event pointer parameters.
parent
5dac8a90
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
event.c
dlls/winemac.drv/event.c
+2
-2
macdrv.h
dlls/winemac.drv/macdrv.h
+1
-1
macdrv_cocoa.h
dlls/winemac.drv/macdrv_cocoa.h
+1
-1
No files found.
dlls/winemac.drv/event.c
View file @
b55d7aae
...
@@ -111,7 +111,7 @@ static macdrv_event_mask get_event_mask(DWORD mask)
...
@@ -111,7 +111,7 @@ static macdrv_event_mask get_event_mask(DWORD mask)
*
*
* Handler for QUERY_EVENT queries.
* Handler for QUERY_EVENT queries.
*/
*/
static
void
macdrv_query_event
(
HWND
hwnd
,
macdrv_event
*
event
)
static
void
macdrv_query_event
(
HWND
hwnd
,
const
macdrv_event
*
event
)
{
{
BOOL
success
=
FALSE
;
BOOL
success
=
FALSE
;
macdrv_query
*
query
=
event
->
query_event
.
query
;
macdrv_query
*
query
=
event
->
query_event
.
query
;
...
@@ -148,7 +148,7 @@ static void macdrv_query_event(HWND hwnd, macdrv_event *event)
...
@@ -148,7 +148,7 @@ static void macdrv_query_event(HWND hwnd, macdrv_event *event)
/***********************************************************************
/***********************************************************************
* macdrv_handle_event
* macdrv_handle_event
*/
*/
void
macdrv_handle_event
(
macdrv_event
*
event
)
void
macdrv_handle_event
(
const
macdrv_event
*
event
)
{
{
HWND
hwnd
=
macdrv_get_window_hwnd
(
event
->
window
);
HWND
hwnd
=
macdrv_get_window_hwnd
(
event
->
window
);
const
macdrv_event
*
prev
;
const
macdrv_event
*
prev
;
...
...
dlls/winemac.drv/macdrv.h
View file @
b55d7aae
...
@@ -142,7 +142,7 @@ extern struct window_surface *create_surface(macdrv_window window, const RECT *r
...
@@ -142,7 +142,7 @@ extern struct window_surface *create_surface(macdrv_window window, const RECT *r
extern
void
set_window_surface
(
macdrv_window
window
,
struct
window_surface
*
window_surface
)
DECLSPEC_HIDDEN
;
extern
void
set_window_surface
(
macdrv_window
window
,
struct
window_surface
*
window_surface
)
DECLSPEC_HIDDEN
;
extern
void
set_surface_use_alpha
(
struct
window_surface
*
window_surface
,
BOOL
use_alpha
)
DECLSPEC_HIDDEN
;
extern
void
set_surface_use_alpha
(
struct
window_surface
*
window_surface
,
BOOL
use_alpha
)
DECLSPEC_HIDDEN
;
extern
void
macdrv_handle_event
(
macdrv_event
*
event
)
DECLSPEC_HIDDEN
;
extern
void
macdrv_handle_event
(
const
macdrv_event
*
event
)
DECLSPEC_HIDDEN
;
extern
void
macdrv_window_close_requested
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
extern
void
macdrv_window_close_requested
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
extern
void
macdrv_window_frame_changed
(
HWND
hwnd
,
CGRect
frame
)
DECLSPEC_HIDDEN
;
extern
void
macdrv_window_frame_changed
(
HWND
hwnd
,
CGRect
frame
)
DECLSPEC_HIDDEN
;
...
...
dlls/winemac.drv/macdrv_cocoa.h
View file @
b55d7aae
...
@@ -266,7 +266,7 @@ static inline macdrv_event_mask event_mask_for_type(int type)
...
@@ -266,7 +266,7 @@ static inline macdrv_event_mask event_mask_for_type(int type)
return
((
macdrv_event_mask
)
1
<<
type
);
return
((
macdrv_event_mask
)
1
<<
type
);
}
}
typedef
void
(
*
macdrv_event_handler
)(
macdrv_event
*
event
);
typedef
void
(
*
macdrv_event_handler
)(
const
macdrv_event
*
event
);
extern
macdrv_event_queue
macdrv_create_event_queue
(
macdrv_event_handler
handler
)
DECLSPEC_HIDDEN
;
extern
macdrv_event_queue
macdrv_create_event_queue
(
macdrv_event_handler
handler
)
DECLSPEC_HIDDEN
;
extern
void
macdrv_destroy_event_queue
(
macdrv_event_queue
queue
)
DECLSPEC_HIDDEN
;
extern
void
macdrv_destroy_event_queue
(
macdrv_event_queue
queue
)
DECLSPEC_HIDDEN
;
...
...
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