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
7d35ba64
Commit
7d35ba64
authored
Mar 04, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Mar 04, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mlang: Remove superfluous pointer casts.
The casts are already part of the CONTAINING_RECORD macro.
parent
8cb97326
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
mlang.c
dlls/mlang/mlang.c
+8
-8
No files found.
dlls/mlang/mlang.c
View file @
7d35ba64
...
...
@@ -1495,7 +1495,7 @@ typedef struct tagEnumCodePage_impl
static
inline
EnumCodePage_impl
*
impl_from_IEnumCodePage
(
IEnumCodePage
*
iface
)
{
return
(
EnumCodePage_impl
*
)
CONTAINING_RECORD
(
iface
,
EnumCodePage_impl
,
vtbl_IEnumCodePage
);
return
CONTAINING_RECORD
(
iface
,
EnumCodePage_impl
,
vtbl_IEnumCodePage
);
}
static
HRESULT
WINAPI
fnIEnumCodePage_QueryInterface
(
...
...
@@ -1688,7 +1688,7 @@ typedef struct tagEnumScript_impl
static
inline
EnumScript_impl
*
impl_from_IEnumScript
(
IEnumScript
*
iface
)
{
return
(
EnumScript_impl
*
)
CONTAINING_RECORD
(
iface
,
EnumScript_impl
,
vtbl_IEnumScript
);
return
CONTAINING_RECORD
(
iface
,
EnumScript_impl
,
vtbl_IEnumScript
);
}
static
HRESULT
WINAPI
fnIEnumScript_QueryInterface
(
...
...
@@ -1850,7 +1850,7 @@ static HRESULT EnumScript_create( MLang_impl* mlang, DWORD dwFlags,
static
inline
MLang_impl
*
impl_from_IMLangFontLink
(
IMLangFontLink
*
iface
)
{
return
(
MLang_impl
*
)
CONTAINING_RECORD
(
iface
,
MLang_impl
,
vtbl_IMLangFontLink
);
return
CONTAINING_RECORD
(
iface
,
MLang_impl
,
vtbl_IMLangFontLink
);
}
static
HRESULT
WINAPI
fnIMLangFontLink_QueryInterface
(
...
...
@@ -2088,7 +2088,7 @@ static const IMLangFontLinkVtbl IMLangFontLink_vtbl =
static
inline
MLang_impl
*
impl_from_IMultiLanguage
(
IMultiLanguage
*
iface
)
{
return
(
MLang_impl
*
)
CONTAINING_RECORD
(
iface
,
MLang_impl
,
vtbl_IMultiLanguage
);
return
CONTAINING_RECORD
(
iface
,
MLang_impl
,
vtbl_IMultiLanguage
);
}
static
HRESULT
WINAPI
fnIMultiLanguage_QueryInterface
(
...
...
@@ -2281,7 +2281,7 @@ typedef struct tagEnumRfc1766_impl
static
inline
EnumRfc1766_impl
*
impl_from_IEnumRfc1766
(
IEnumRfc1766
*
iface
)
{
return
(
EnumRfc1766_impl
*
)
CONTAINING_RECORD
(
iface
,
EnumRfc1766_impl
,
vtbl_IEnumRfc1766
);
return
CONTAINING_RECORD
(
iface
,
EnumRfc1766_impl
,
vtbl_IEnumRfc1766
);
}
static
HRESULT
WINAPI
fnIEnumRfc1766_QueryInterface
(
...
...
@@ -2551,7 +2551,7 @@ static const IMultiLanguageVtbl IMultiLanguage_vtbl =
static
inline
MLang_impl
*
impl_from_IMultiLanguage3
(
IMultiLanguage3
*
iface
)
{
return
(
MLang_impl
*
)
CONTAINING_RECORD
(
iface
,
MLang_impl
,
vtbl_IMultiLanguage3
);
return
CONTAINING_RECORD
(
iface
,
MLang_impl
,
vtbl_IMultiLanguage3
);
}
static
HRESULT
WINAPI
fnIMultiLanguage2_QueryInterface
(
...
...
@@ -3171,7 +3171,7 @@ static const IMultiLanguage3Vtbl IMultiLanguage3_vtbl =
static
inline
MLang_impl
*
impl_from_IMLangFontLink2
(
IMLangFontLink2
*
iface
)
{
return
(
MLang_impl
*
)
CONTAINING_RECORD
(
iface
,
MLang_impl
,
vtbl_IMLangFontLink2
);
return
CONTAINING_RECORD
(
iface
,
MLang_impl
,
vtbl_IMLangFontLink2
);
}
static
HRESULT
WINAPI
fnIMLangFontLink2_QueryInterface
(
...
...
@@ -3325,7 +3325,7 @@ static const IMLangFontLink2Vtbl IMLangFontLink2_vtbl =
static
inline
MLang_impl
*
impl_from_IMLangLineBreakConsole
(
IMLangLineBreakConsole
*
iface
)
{
return
(
MLang_impl
*
)
CONTAINING_RECORD
(
iface
,
MLang_impl
,
vtbl_IMLangLineBreakConsole
);
return
CONTAINING_RECORD
(
iface
,
MLang_impl
,
vtbl_IMLangLineBreakConsole
);
}
static
HRESULT
WINAPI
fnIMLangLineBreakConsole_QueryInterface
(
...
...
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