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
7c6ef46c
Commit
7c6ef46c
authored
Mar 23, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Mar 26, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Replace inline static with static inline.
parent
73e0e8bf
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
15 deletions
+15
-15
vfw.h
include/vfw.h
+7
-7
win.h
include/win.h
+2
-2
wincon.h
include/wincon.h
+1
-1
winsock.h
include/winsock.h
+2
-2
winternl.h
include/winternl.h
+3
-3
No files found.
include/vfw.h
View file @
7c6ef46c
...
...
@@ -387,7 +387,7 @@ DWORD VFWAPIV ICDecompress(HIC hic,DWORD dwFlags,LPBITMAPINFOHEADER lpbiFormat,L
LRESULT
VFWAPI
ICSendMessage
(
HIC
hic
,
UINT
msg
,
DWORD_PTR
dw1
,
DWORD_PTR
dw2
);
inline
static
LRESULT
VFWAPI
ICDecompressEx
(
HIC
hic
,
DWORD
dwFlags
,
static
inline
LRESULT
VFWAPI
ICDecompressEx
(
HIC
hic
,
DWORD
dwFlags
,
LPBITMAPINFOHEADER
lpbiSrc
,
LPVOID
lpSrc
,
int
xSrc
,
int
ySrc
,
int
dxSrc
,
int
dySrc
,
LPBITMAPINFOHEADER
lpbiDst
,
LPVOID
lpDst
,
...
...
@@ -411,7 +411,7 @@ inline static LRESULT VFWAPI ICDecompressEx(HIC hic, DWORD dwFlags,
return
ICSendMessage
(
hic
,
ICM_DECOMPRESSEX
,
(
DWORD_PTR
)
&
ic
,
sizeof
(
ic
));
}
inline
static
LRESULT
VFWAPI
ICDecompressExBegin
(
HIC
hic
,
DWORD
dwFlags
,
static
inline
LRESULT
VFWAPI
ICDecompressExBegin
(
HIC
hic
,
DWORD
dwFlags
,
LPBITMAPINFOHEADER
lpbiSrc
,
LPVOID
lpSrc
,
int
xSrc
,
int
ySrc
,
int
dxSrc
,
int
dySrc
,
...
...
@@ -439,7 +439,7 @@ inline static LRESULT VFWAPI ICDecompressExBegin(HIC hic, DWORD dwFlags,
ic
.
dyDst
=
dyDst
;
return
ICSendMessage
(
hic
,
ICM_DECOMPRESSEX_BEGIN
,
(
DWORD_PTR
)
&
ic
,
sizeof
(
ic
));
}
inline
static
LRESULT
VFWAPI
ICDecompressExQuery
(
HIC
hic
,
DWORD
dwFlags
,
static
inline
LRESULT
VFWAPI
ICDecompressExQuery
(
HIC
hic
,
DWORD
dwFlags
,
LPBITMAPINFOHEADER
lpbiSrc
,
LPVOID
lpSrc
,
int
xSrc
,
int
ySrc
,
int
dxSrc
,
int
dySrc
,
...
...
@@ -519,14 +519,14 @@ HIC VFWAPI ICGetDisplayFormat(HIC hic, LPBITMAPINFOHEADER lpbiIn, LPBITMAPINFOHE
#define ICGetStateSize(hic) \
ICGetState(hic, NULL, 0)
inline
static
DWORD
ICGetDefaultQuality
(
HIC
hic
)
static
inline
DWORD
ICGetDefaultQuality
(
HIC
hic
)
{
DWORD
dwICValue
;
ICSendMessage
(
hic
,
ICM_GETDEFAULTQUALITY
,
(
DWORD_PTR
)(
LPVOID
)
&
dwICValue
,
sizeof
(
DWORD
));
return
dwICValue
;
}
inline
static
DWORD
ICGetDefaultKeyFrameRate
(
HIC
hic
)
static
inline
DWORD
ICGetDefaultKeyFrameRate
(
HIC
hic
)
{
DWORD
dwICValue
;
ICSendMessage
(
hic
,
ICM_GETDEFAULTKEYFRAMERATE
,
(
DWORD_PTR
)(
LPVOID
)
&
dwICValue
,
sizeof
(
DWORD
));
...
...
@@ -609,7 +609,7 @@ typedef struct {
DWORD
VFWAPIV
ICDraw
(
HIC
hic
,
DWORD
dwFlags
,
LPVOID
lpFormat
,
LPVOID
lpData
,
DWORD
cbData
,
LONG
lTime
);
inline
static
LRESULT
VFWAPI
ICDrawSuggestFormat
(
HIC
hic
,
LPBITMAPINFOHEADER
lpbiIn
,
static
inline
LRESULT
VFWAPI
ICDrawSuggestFormat
(
HIC
hic
,
LPBITMAPINFOHEADER
lpbiIn
,
LPBITMAPINFOHEADER
lpbiOut
,
int
dxSrc
,
int
dySrc
,
int
dxDst
,
int
dyDst
,
...
...
@@ -666,7 +666,7 @@ inline static LRESULT VFWAPI ICDrawSuggestFormat(HIC hic, LPBITMAPINFOHEADER lpb
#define ICDrawRenderBuffer(hic) \
ICSendMessage(hic, ICM_DRAW_RENDERBUFFER, 0, 0)
inline
static
LRESULT
VFWAPI
ICSetStatusProc
(
HIC
hic
,
DWORD
dwFlags
,
LRESULT
lParam
,
static
inline
LRESULT
VFWAPI
ICSetStatusProc
(
HIC
hic
,
DWORD
dwFlags
,
LRESULT
lParam
,
LONG
(
CALLBACK
*
fpfnStatus
)(
LPARAM
,
UINT
,
LONG
))
{
ICSETSTATUSPROC
ic
;
...
...
include/win.h
View file @
7c6ef46c
...
...
@@ -90,14 +90,14 @@ extern void MDI_CalcDefaultChildPos( HWND hwndClient, INT total, LPPOINT lpPos,
extern
void
USER_Lock
(
void
);
extern
void
USER_Unlock
(
void
);
inline
static
HWND
WIN_GetFullHandle
(
HWND
hwnd
)
static
inline
HWND
WIN_GetFullHandle
(
HWND
hwnd
)
{
if
(
!
HIWORD
(
hwnd
)
&&
hwnd
)
hwnd
=
WIN_Handle32
(
LOWORD
(
hwnd
)
);
return
hwnd
;
}
/* to release pointers retrieved by WIN_GetPtr */
inline
static
void
WIN_ReleasePtr
(
WND
*
ptr
)
static
inline
void
WIN_ReleasePtr
(
WND
*
ptr
)
{
USER_Unlock
();
}
...
...
include/wincon.h
View file @
7c6ef46c
...
...
@@ -176,7 +176,7 @@ typedef struct tagINPUT_RECORD
* structures is different between Windows and gcc on i386. */
DWORD
WINAPI
GetLargestConsoleWindowSize
(
HANDLE
);
inline
static
COORD
__wine_GetLargestConsoleWindowSize_wrapper
(
HANDLE
h
)
static
inline
COORD
__wine_GetLargestConsoleWindowSize_wrapper
(
HANDLE
h
)
{
union
{
COORD
c
;
...
...
include/winsock.h
View file @
7c6ef46c
...
...
@@ -523,11 +523,11 @@ int WINAPI __WSAFDIsSet(SOCKET,WS(fd_set)*);
#else
/* WORDS_BIGENDIAN */
inline
static
u_short
__wine_ushort_swap
(
u_short
s
)
static
inline
u_short
__wine_ushort_swap
(
u_short
s
)
{
return
(
s
>>
8
)
|
(
s
<<
8
);
}
inline
static
u_long
__wine_ulong_swap
(
u_long
l
)
static
inline
u_long
__wine_ulong_swap
(
u_long
l
)
{
return
((
u_long
)
__wine_ushort_swap
((
u_short
)
l
)
<<
16
)
|
__wine_ushort_swap
((
u_short
)(
l
>>
16
));
}
...
...
include/winternl.h
View file @
7c6ef46c
...
...
@@ -2278,7 +2278,7 @@ extern NTSTATUS wine_unix_to_nt_file_name( const ANSI_STRING *name, UNICODE_STRI
#define RtlRetrieveUlonglong(p,s) memcpy((p), (s), sizeof(ULONGLONG))
#define RtlZeroMemory(Destination,Length) memset((Destination),0,(Length))
inline
static
BOOLEAN
RtlCheckBit
(
PCRTL_BITMAP
lpBits
,
ULONG
ulBit
)
static
inline
BOOLEAN
RtlCheckBit
(
PCRTL_BITMAP
lpBits
,
ULONG
ulBit
)
{
if
(
lpBits
&&
ulBit
<
lpBits
->
SizeOfBitMap
&&
lpBits
->
Buffer
[
ulBit
>>
5
]
&
(
1
<<
(
ulBit
&
31
)))
...
...
@@ -2287,11 +2287,11 @@ inline static BOOLEAN RtlCheckBit(PCRTL_BITMAP lpBits, ULONG ulBit)
}
/* These are implemented as __fastcall, so we can't let Winelib apps link with them */
inline
static
USHORT
RtlUshortByteSwap
(
USHORT
s
)
static
inline
USHORT
RtlUshortByteSwap
(
USHORT
s
)
{
return
(
s
>>
8
)
|
(
s
<<
8
);
}
inline
static
ULONG
RtlUlongByteSwap
(
ULONG
i
)
static
inline
ULONG
RtlUlongByteSwap
(
ULONG
i
)
{
#if defined(__i386__) && defined(__GNUC__)
ULONG
ret
;
...
...
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