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
57746f95
Commit
57746f95
authored
Mar 23, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Mar 26, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Replace inline static with static inline.
parent
7e0137da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
internet.h
dlls/wininet/internet.h
+4
-4
No files found.
dlls/wininet/internet.h
View file @
57746f95
...
...
@@ -71,14 +71,14 @@ typedef struct
#endif
}
WININET_NETCONNECTION
;
inline
static
LPWSTR
WININET_strdupW
(
LPCWSTR
str
)
static
inline
LPWSTR
WININET_strdupW
(
LPCWSTR
str
)
{
LPWSTR
ret
=
HeapAlloc
(
GetProcessHeap
(),
0
,
(
strlenW
(
str
)
+
1
)
*
sizeof
(
WCHAR
)
);
if
(
ret
)
strcpyW
(
ret
,
str
);
return
ret
;
}
inline
static
LPWSTR
WININET_strdup_AtoW
(
LPCSTR
str
)
static
inline
LPWSTR
WININET_strdup_AtoW
(
LPCSTR
str
)
{
int
len
=
MultiByteToWideChar
(
CP_ACP
,
0
,
str
,
-
1
,
NULL
,
0
);
LPWSTR
ret
=
HeapAlloc
(
GetProcessHeap
(),
0
,
len
*
sizeof
(
WCHAR
)
);
...
...
@@ -87,7 +87,7 @@ inline static LPWSTR WININET_strdup_AtoW( LPCSTR str )
return
ret
;
}
inline
static
LPSTR
WININET_strdup_WtoA
(
LPCWSTR
str
)
static
inline
LPSTR
WININET_strdup_WtoA
(
LPCWSTR
str
)
{
int
len
=
WideCharToMultiByte
(
CP_ACP
,
0
,
str
,
-
1
,
NULL
,
0
,
NULL
,
NULL
);
LPSTR
ret
=
HeapAlloc
(
GetProcessHeap
(),
0
,
len
);
...
...
@@ -96,7 +96,7 @@ inline static LPSTR WININET_strdup_WtoA( LPCWSTR str )
return
ret
;
}
inline
static
void
WININET_find_data_WtoA
(
LPWIN32_FIND_DATAW
dataW
,
LPWIN32_FIND_DATAA
dataA
)
static
inline
void
WININET_find_data_WtoA
(
LPWIN32_FIND_DATAW
dataW
,
LPWIN32_FIND_DATAA
dataA
)
{
dataA
->
dwFileAttributes
=
dataW
->
dwFileAttributes
;
dataA
->
ftCreationTime
=
dataW
->
ftCreationTime
;
...
...
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