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
3d63982f
Commit
3d63982f
authored
Feb 23, 2011
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 23, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Remove hasChildNodes() forward.
parent
5775bcde
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
34 additions
and
30 deletions
+34
-30
attribute.c
dlls/msxml3/attribute.c
+3
-2
cdata.c
dlls/msxml3/cdata.c
+3
-2
comment.c
dlls/msxml3/comment.c
+3
-2
docfrag.c
dlls/msxml3/docfrag.c
+3
-2
domdoc.c
dlls/msxml3/domdoc.c
+3
-2
element.c
dlls/msxml3/element.c
+3
-2
entityref.c
dlls/msxml3/entityref.c
+3
-2
msxml_private.h
dlls/msxml3/msxml_private.h
+1
-0
node.c
dlls/msxml3/node.c
+6
-12
pi.c
dlls/msxml3/pi.c
+3
-2
text.c
dlls/msxml3/text.c
+3
-2
No files found.
dlls/msxml3/attribute.c
View file @
3d63982f
...
...
@@ -344,10 +344,11 @@ static HRESULT WINAPI domattr_appendChild(
static
HRESULT
WINAPI
domattr_hasChildNodes
(
IXMLDOMAttribute
*
iface
,
VARIANT_BOOL
*
pbool
)
VARIANT_BOOL
*
ret
)
{
domattr
*
This
=
impl_from_IXMLDOMAttribute
(
iface
);
return
IXMLDOMNode_hasChildNodes
(
&
This
->
node
.
IXMLDOMNode_iface
,
pbool
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
ret
);
return
node_has_childnodes
(
&
This
->
node
,
ret
);
}
static
HRESULT
WINAPI
domattr_get_ownerDocument
(
...
...
dlls/msxml3/cdata.c
View file @
3d63982f
...
...
@@ -355,10 +355,11 @@ static HRESULT WINAPI domcdata_appendChild(
static
HRESULT
WINAPI
domcdata_hasChildNodes
(
IXMLDOMCDATASection
*
iface
,
VARIANT_BOOL
*
pbool
)
VARIANT_BOOL
*
ret
)
{
domcdata
*
This
=
impl_from_IXMLDOMCDATASection
(
iface
);
return
IXMLDOMNode_hasChildNodes
(
&
This
->
node
.
IXMLDOMNode_iface
,
pbool
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
ret
);
return
node_has_childnodes
(
&
This
->
node
,
ret
);
}
static
HRESULT
WINAPI
domcdata_get_ownerDocument
(
...
...
dlls/msxml3/comment.c
View file @
3d63982f
...
...
@@ -348,10 +348,11 @@ static HRESULT WINAPI domcomment_appendChild(
static
HRESULT
WINAPI
domcomment_hasChildNodes
(
IXMLDOMComment
*
iface
,
VARIANT_BOOL
*
pbool
)
VARIANT_BOOL
*
ret
)
{
domcomment
*
This
=
impl_from_IXMLDOMComment
(
iface
);
return
IXMLDOMNode_hasChildNodes
(
&
This
->
node
.
IXMLDOMNode_iface
,
pbool
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
ret
);
return
node_has_childnodes
(
&
This
->
node
,
ret
);
}
static
HRESULT
WINAPI
domcomment_get_ownerDocument
(
...
...
dlls/msxml3/docfrag.c
View file @
3d63982f
...
...
@@ -352,10 +352,11 @@ static HRESULT WINAPI domfrag_appendChild(
static
HRESULT
WINAPI
domfrag_hasChildNodes
(
IXMLDOMDocumentFragment
*
iface
,
VARIANT_BOOL
*
pbool
)
VARIANT_BOOL
*
ret
)
{
domfrag
*
This
=
impl_from_IXMLDOMDocumentFragment
(
iface
);
return
IXMLDOMNode_hasChildNodes
(
&
This
->
node
.
IXMLDOMNode_iface
,
pbool
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
ret
);
return
node_has_childnodes
(
&
This
->
node
,
ret
);
}
static
HRESULT
WINAPI
domfrag_get_ownerDocument
(
...
...
dlls/msxml3/domdoc.c
View file @
3d63982f
...
...
@@ -1239,10 +1239,11 @@ static HRESULT WINAPI domdoc_appendChild(
static
HRESULT
WINAPI
domdoc_hasChildNodes
(
IXMLDOMDocument3
*
iface
,
VARIANT_BOOL
*
hasChild
)
VARIANT_BOOL
*
ret
)
{
domdoc
*
This
=
impl_from_IXMLDOMDocument3
(
iface
);
return
IXMLDOMNode_hasChildNodes
(
&
This
->
node
.
IXMLDOMNode_iface
,
hasChild
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
ret
);
return
node_has_childnodes
(
&
This
->
node
,
ret
);
}
...
...
dlls/msxml3/element.c
View file @
3d63982f
...
...
@@ -363,10 +363,11 @@ static HRESULT WINAPI domelem_appendChild(
static
HRESULT
WINAPI
domelem_hasChildNodes
(
IXMLDOMElement
*
iface
,
VARIANT_BOOL
*
pbool
)
VARIANT_BOOL
*
ret
)
{
domelem
*
This
=
impl_from_IXMLDOMElement
(
iface
);
return
IXMLDOMNode_hasChildNodes
(
&
This
->
node
.
IXMLDOMNode_iface
,
pbool
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
ret
);
return
node_has_childnodes
(
&
This
->
node
,
ret
);
}
static
HRESULT
WINAPI
domelem_get_ownerDocument
(
...
...
dlls/msxml3/entityref.c
View file @
3d63982f
...
...
@@ -346,10 +346,11 @@ static HRESULT WINAPI entityref_appendChild(
static
HRESULT
WINAPI
entityref_hasChildNodes
(
IXMLDOMEntityReference
*
iface
,
VARIANT_BOOL
*
pbool
)
VARIANT_BOOL
*
ret
)
{
entityref
*
This
=
impl_from_IXMLDOMEntityReference
(
iface
);
return
IXMLDOMNode_hasChildNodes
(
&
This
->
node
.
IXMLDOMNode_iface
,
pbool
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
ret
);
return
node_has_childnodes
(
&
This
->
node
,
ret
);
}
static
HRESULT
WINAPI
entityref_get_ownerDocument
(
...
...
dlls/msxml3/msxml_private.h
View file @
3d63982f
...
...
@@ -273,6 +273,7 @@ extern HRESULT node_get_prefix(xmlnode*,BSTR*);
extern
HRESULT
node_get_base_name
(
xmlnode
*
,
BSTR
*
);
extern
HRESULT
node_get_namespaceURI
(
xmlnode
*
,
BSTR
*
);
extern
HRESULT
node_remove_child
(
xmlnode
*
,
IXMLDOMNode
*
,
IXMLDOMNode
**
);
extern
HRESULT
node_has_childnodes
(
const
xmlnode
*
,
VARIANT_BOOL
*
);
extern
HRESULT
DOMDocument_create_from_xmldoc
(
xmlDocPtr
xmldoc
,
IXMLDOMDocument3
**
document
);
extern
HRESULT
SchemaCache_validate_tree
(
IXMLDOMSchemaCollection2
*
iface
,
xmlNodePtr
tree
);
...
...
dlls/msxml3/node.c
View file @
3d63982f
...
...
@@ -449,23 +449,17 @@ HRESULT node_append_child(xmlnode *This, IXMLDOMNode *child, IXMLDOMNode **outCh
return
IXMLDOMNode_insertBefore
(
This
->
iface
,
child
,
var
,
outChild
);
}
static
HRESULT
WINAPI
xmlnode_hasChildNodes
(
IXMLDOMNode
*
iface
,
VARIANT_BOOL
*
hasChild
)
HRESULT
node_has_childnodes
(
const
xmlnode
*
This
,
VARIANT_BOOL
*
ret
)
{
xmlnode
*
This
=
impl_from_IXMLDOMNode
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
hasChild
);
if
(
!
ret
)
return
E_INVALIDARG
;
if
(
!
hasChild
)
return
E_INVALIDARG
;
if
(
!
This
->
node
->
children
)
{
*
hasChild
=
VARIANT_FALSE
;
*
ret
=
VARIANT_FALSE
;
return
S_FALSE
;
}
*
hasChild
=
VARIANT_TRUE
;
*
ret
=
VARIANT_TRUE
;
return
S_OK
;
}
...
...
@@ -1142,7 +1136,7 @@ static const struct IXMLDOMNodeVtbl xmlnode_vtbl =
NULL
,
NULL
,
NULL
,
xmlnode_hasChildNodes
,
NULL
,
xmlnode_get_ownerDocument
,
NULL
,
NULL
,
...
...
@@ -1498,7 +1492,7 @@ static HRESULT WINAPI unknode_hasChildNodes(
VARIANT_BOOL
*
pbool
)
{
unknode
*
This
=
unknode_from_IXMLDOMNode
(
iface
);
return
IXMLDOMNode_hasChildNodes
(
&
This
->
node
.
IXMLDOMNode_iface
,
pbool
);
return
node_has_childnodes
(
&
This
->
node
,
pbool
);
}
static
HRESULT
WINAPI
unknode_get_ownerDocument
(
...
...
dlls/msxml3/pi.c
View file @
3d63982f
...
...
@@ -362,10 +362,11 @@ static HRESULT WINAPI dom_pi_appendChild(
static
HRESULT
WINAPI
dom_pi_hasChildNodes
(
IXMLDOMProcessingInstruction
*
iface
,
VARIANT_BOOL
*
pbool
)
VARIANT_BOOL
*
ret
)
{
dom_pi
*
This
=
impl_from_IXMLDOMProcessingInstruction
(
iface
);
return
IXMLDOMNode_hasChildNodes
(
&
This
->
node
.
IXMLDOMNode_iface
,
pbool
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
ret
);
return
node_has_childnodes
(
&
This
->
node
,
ret
);
}
static
HRESULT
WINAPI
dom_pi_get_ownerDocument
(
...
...
dlls/msxml3/text.c
View file @
3d63982f
...
...
@@ -361,10 +361,11 @@ static HRESULT WINAPI domtext_appendChild(
static
HRESULT
WINAPI
domtext_hasChildNodes
(
IXMLDOMText
*
iface
,
VARIANT_BOOL
*
pbool
)
VARIANT_BOOL
*
ret
)
{
domtext
*
This
=
impl_from_IXMLDOMText
(
iface
);
return
IXMLDOMNode_hasChildNodes
(
&
This
->
node
.
IXMLDOMNode_iface
,
pbool
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
ret
);
return
node_has_childnodes
(
&
This
->
node
,
ret
);
}
static
HRESULT
WINAPI
domtext_get_ownerDocument
(
...
...
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