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
8db9985f
Commit
8db9985f
authored
Dec 16, 2010
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Dec 16, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Use an iface instead of a vtbl pointer in xmlnodelist.
parent
25df7aac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
nodelist.c
dlls/msxml3/nodelist.c
+6
-6
No files found.
dlls/msxml3/nodelist.c
View file @
8db9985f
...
@@ -48,7 +48,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(msxml);
...
@@ -48,7 +48,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(msxml);
typedef
struct
_xmlnodelist
typedef
struct
_xmlnodelist
{
{
const
struct
IXMLDOMNodeListVtbl
*
lpVtbl
;
IXMLDOMNodeList
IXMLDOMNodeList_iface
;
LONG
ref
;
LONG
ref
;
xmlNodePtr
parent
;
xmlNodePtr
parent
;
xmlNodePtr
current
;
xmlNodePtr
current
;
...
@@ -56,7 +56,7 @@ typedef struct _xmlnodelist
...
@@ -56,7 +56,7 @@ typedef struct _xmlnodelist
static
inline
xmlnodelist
*
impl_from_IXMLDOMNodeList
(
IXMLDOMNodeList
*
iface
)
static
inline
xmlnodelist
*
impl_from_IXMLDOMNodeList
(
IXMLDOMNodeList
*
iface
)
{
{
return
(
xmlnodelist
*
)((
char
*
)
iface
-
FIELD_OFFSET
(
xmlnodelist
,
lpVtbl
)
);
return
CONTAINING_RECORD
(
iface
,
xmlnodelist
,
IXMLDOMNodeList_iface
);
}
}
static
HRESULT
WINAPI
xmlnodelist_QueryInterface
(
static
HRESULT
WINAPI
xmlnodelist_QueryInterface
(
...
@@ -188,8 +188,8 @@ static HRESULT WINAPI xmlnodelist_Invoke(
...
@@ -188,8 +188,8 @@ static HRESULT WINAPI xmlnodelist_Invoke(
hr
=
get_typeinfo
(
IXMLDOMNodeList_tid
,
&
typeinfo
);
hr
=
get_typeinfo
(
IXMLDOMNodeList_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
if
(
SUCCEEDED
(
hr
))
{
{
hr
=
ITypeInfo_Invoke
(
typeinfo
,
&
(
This
->
lpVtbl
),
dispIdMember
,
wFlags
,
pDispParam
s
,
hr
=
ITypeInfo_Invoke
(
typeinfo
,
&
This
->
IXMLDOMNodeList_iface
,
dispIdMember
,
wFlag
s
,
pVarResult
,
pExcepInfo
,
puArgErr
);
p
DispParams
,
p
VarResult
,
pExcepInfo
,
puArgErr
);
ITypeInfo_Release
(
typeinfo
);
ITypeInfo_Release
(
typeinfo
);
}
}
...
@@ -319,14 +319,14 @@ IXMLDOMNodeList* create_children_nodelist( xmlNodePtr node )
...
@@ -319,14 +319,14 @@ IXMLDOMNodeList* create_children_nodelist( xmlNodePtr node )
if
(
!
nodelist
)
if
(
!
nodelist
)
return
NULL
;
return
NULL
;
nodelist
->
lpVtbl
=
&
xmlnodelist_vtbl
;
nodelist
->
IXMLDOMNodeList_iface
.
lpVtbl
=
&
xmlnodelist_vtbl
;
nodelist
->
ref
=
1
;
nodelist
->
ref
=
1
;
nodelist
->
parent
=
node
;
nodelist
->
parent
=
node
;
nodelist
->
current
=
node
->
children
;
nodelist
->
current
=
node
->
children
;
xmldoc_add_ref
(
node
->
doc
);
xmldoc_add_ref
(
node
->
doc
);
return
(
IXMLDOMNodeList
*
)
&
nodelist
->
lpVtbl
;
return
&
nodelist
->
IXMLDOMNodeList_iface
;
}
}
#endif
#endif
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