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
a33f71a3
Commit
a33f71a3
authored
Mar 17, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Mar 17, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Replace inline static with static inline.
parent
2f5f3825
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
11 additions
and
11 deletions
+11
-11
dib.c
dlls/winex11.drv/dib.c
+1
-1
event.c
dlls/winex11.drv/event.c
+1
-1
keyboard.c
dlls/winex11.drv/keyboard.c
+1
-1
opengl.c
dlls/winex11.drv/opengl.c
+2
-2
window.c
dlls/winex11.drv/window.c
+1
-1
wintab.c
dlls/winex11.drv/wintab.c
+1
-1
x11drv.h
dlls/winex11.drv/x11drv.h
+2
-2
x11drv_main.c
dlls/winex11.drv/x11drv_main.c
+1
-1
xfont.c
dlls/winex11.drv/xfont.c
+1
-1
No files found.
dlls/winex11.drv/dib.c
View file @
a33f71a3
...
...
@@ -111,7 +111,7 @@ static void X11DRV_DIB_Unlock(X_PHYSBITMAP *,BOOL);
*
* Return the width of an X image in bytes
*/
inline
static
int
X11DRV_DIB_GetXImageWidthBytes
(
int
width
,
int
depth
)
static
inline
int
X11DRV_DIB_GetXImageWidthBytes
(
int
width
,
int
depth
)
{
if
(
!
depth
||
depth
>
32
)
goto
error
;
...
...
dlls/winex11.drv/event.c
View file @
a33f71a3
...
...
@@ -351,7 +351,7 @@ DWORD EVENT_x11_time_to_win32_time(Time time)
*
* Check if we can activate the specified window.
*/
inline
static
BOOL
can_activate_window
(
HWND
hwnd
)
static
inline
BOOL
can_activate_window
(
HWND
hwnd
)
{
LONG
style
=
GetWindowLongW
(
hwnd
,
GWL_STYLE
);
if
(
!
(
style
&
WS_VISIBLE
))
return
FALSE
;
...
...
dlls/winex11.drv/keyboard.c
View file @
a33f71a3
...
...
@@ -1293,7 +1293,7 @@ static void KEYBOARD_GenerateMsg( WORD vkey, WORD scan, int Evtype, DWORD event_
* Updates internal state for <vkey>, depending on key <state> under X
*
*/
inline
static
void
KEYBOARD_UpdateOneState
(
int
vkey
,
int
state
,
DWORD
time
)
static
inline
void
KEYBOARD_UpdateOneState
(
int
vkey
,
int
state
,
DWORD
time
)
{
/* Do something if internal table state != X state for keycode */
if
(((
key_state_table
[
vkey
]
&
0x80
)
!=
0
)
!=
state
)
...
...
dlls/winex11.drv/opengl.c
View file @
a33f71a3
...
...
@@ -541,7 +541,7 @@ static inline Wine_GLContext *get_context_from_GLXContext(GLXContext ctx)
*
* For use by wglGetCurrentReadDCARB.
*/
inline
static
HDC
get_hdc_from_Drawable
(
GLXDrawable
d
)
static
inline
HDC
get_hdc_from_Drawable
(
GLXDrawable
d
)
{
Wine_GLContext
*
ret
;
for
(
ret
=
context_list
;
ret
;
ret
=
ret
->
next
)
{
...
...
@@ -552,7 +552,7 @@ inline static HDC get_hdc_from_Drawable(GLXDrawable d)
return
NULL
;
}
inline
static
BOOL
is_valid_context
(
Wine_GLContext
*
ctx
)
static
inline
BOOL
is_valid_context
(
Wine_GLContext
*
ctx
)
{
Wine_GLContext
*
ptr
;
for
(
ptr
=
context_list
;
ptr
;
ptr
=
ptr
->
next
)
if
(
ptr
==
ctx
)
break
;
...
...
dlls/winex11.drv/window.c
View file @
a33f71a3
...
...
@@ -67,7 +67,7 @@ static const char visual_id_prop[] = "__wine_x11_visual_id";
*
* Check if a given window should be managed
*/
inline
static
BOOL
is_window_managed
(
HWND
hwnd
)
static
inline
BOOL
is_window_managed
(
HWND
hwnd
)
{
DWORD
style
,
ex_style
;
...
...
dlls/winex11.drv/wintab.c
View file @
a33f71a3
...
...
@@ -758,7 +758,7 @@ int X11DRV_GetCurrentPacket(LPWTPACKET *packet)
}
inline
static
int
CopyTabletData
(
LPVOID
target
,
LPVOID
src
,
INT
size
)
static
inline
int
CopyTabletData
(
LPVOID
target
,
LPVOID
src
,
INT
size
)
{
/*
* It is valid to call CopyTabletData with NULL.
...
...
dlls/winex11.drv/x11drv.h
View file @
a33f71a3
...
...
@@ -510,14 +510,14 @@ struct x11drv_thread_data
extern
struct
x11drv_thread_data
*
x11drv_init_thread_data
(
void
);
extern
DWORD
thread_data_tls_index
;
inline
static
struct
x11drv_thread_data
*
x11drv_thread_data
(
void
)
static
inline
struct
x11drv_thread_data
*
x11drv_thread_data
(
void
)
{
struct
x11drv_thread_data
*
data
=
TlsGetValue
(
thread_data_tls_index
);
if
(
!
data
)
data
=
x11drv_init_thread_data
();
return
data
;
}
inline
static
Display
*
thread_display
(
void
)
{
return
x11drv_thread_data
()
->
display
;
}
static
inline
Display
*
thread_display
(
void
)
{
return
x11drv_thread_data
()
->
display
;
}
extern
Visual
*
visual
;
extern
Window
root_window
;
...
...
dlls/winex11.drv/x11drv_main.c
View file @
a33f71a3
...
...
@@ -274,7 +274,7 @@ void wine_tsx11_unlock(void)
*
* Get a config key from either the app-specific or the default config
*/
inline
static
DWORD
get_config_key
(
HKEY
defkey
,
HKEY
appkey
,
const
char
*
name
,
static
inline
DWORD
get_config_key
(
HKEY
defkey
,
HKEY
appkey
,
const
char
*
name
,
char
*
buffer
,
DWORD
size
)
{
if
(
appkey
&&
!
RegQueryValueExA
(
appkey
,
name
,
0
,
NULL
,
(
LPBYTE
)
buffer
,
&
size
))
return
0
;
...
...
dlls/winex11.drv/xfont.c
View file @
a33f71a3
...
...
@@ -365,7 +365,7 @@ static int fontLF = -1, fontMRU = -1; /* last free, most recently used */
/***********************************************************************
* is_stock_font
*/
inline
static
BOOL
is_stock_font
(
HFONT
font
)
static
inline
BOOL
is_stock_font
(
HFONT
font
)
{
int
i
;
for
(
i
=
OEM_FIXED_FONT
;
i
<=
DEFAULT_GUI_FONT
;
i
++
)
...
...
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