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
af468590
Commit
af468590
authored
Aug 29, 2016
by
Sebastian Lackner
Committed by
Alexandre Julliard
Aug 29, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Remove some unused static inline functions.
Signed-off-by:
Sebastian Lackner
<
sebastian@fds-team.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d8fd4bde
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
18 deletions
+0
-18
shell32_main.h
dlls/shell32/shell32_main.h
+0
-18
No files found.
dlls/shell32/shell32_main.h
View file @
af468590
...
@@ -161,24 +161,6 @@ static inline BOOL SHELL_OsIsUnicode(void)
...
@@ -161,24 +161,6 @@ static inline BOOL SHELL_OsIsUnicode(void)
SHFree(*ptr); \
SHFree(*ptr); \
*ptr = NULL; \
*ptr = NULL; \
};
};
static
inline
void
__SHCloneStrA
(
char
**
target
,
const
char
*
source
)
{
*
target
=
SHAlloc
(
strlen
(
source
)
+
1
);
strcpy
(
*
target
,
source
);
}
static
inline
void
__SHCloneStrWtoA
(
char
**
target
,
const
WCHAR
*
source
)
{
int
len
=
WideCharToMultiByte
(
CP_ACP
,
0
,
source
,
-
1
,
NULL
,
0
,
NULL
,
NULL
);
*
target
=
SHAlloc
(
len
);
WideCharToMultiByte
(
CP_ACP
,
0
,
source
,
-
1
,
*
target
,
len
,
NULL
,
NULL
);
}
static
inline
void
__SHCloneStrW
(
WCHAR
**
target
,
const
WCHAR
*
source
)
{
*
target
=
SHAlloc
(
(
lstrlenW
(
source
)
+
1
)
*
sizeof
(
WCHAR
)
);
lstrcpyW
(
*
target
,
source
);
}
static
inline
WCHAR
*
__SHCloneStrAtoW
(
WCHAR
**
target
,
const
char
*
source
)
static
inline
WCHAR
*
__SHCloneStrAtoW
(
WCHAR
**
target
,
const
char
*
source
)
{
{
...
...
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