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
5775bcde
Commit
5775bcde
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 appendChild() forward.
parent
1178f7b4
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
35 additions
and
31 deletions
+35
-31
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
+4
-3
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 @
5775bcde
...
...
@@ -335,10 +335,11 @@ static HRESULT WINAPI domattr_removeChild(
static
HRESULT
WINAPI
domattr_appendChild
(
IXMLDOMAttribute
*
iface
,
IXMLDOMNode
*
newNode
,
IXMLDOMNode
**
outNewNode
)
IXMLDOMNode
*
child
,
IXMLDOMNode
**
outChild
)
{
domattr
*
This
=
impl_from_IXMLDOMAttribute
(
iface
);
return
IXMLDOMNode_appendChild
(
&
This
->
node
.
IXMLDOMNode_iface
,
newNode
,
outNewNode
);
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
child
,
outChild
);
return
node_append_child
(
&
This
->
node
,
child
,
outChild
);
}
static
HRESULT
WINAPI
domattr_hasChildNodes
(
...
...
dlls/msxml3/cdata.c
View file @
5775bcde
...
...
@@ -346,10 +346,11 @@ static HRESULT WINAPI domcdata_removeChild(
static
HRESULT
WINAPI
domcdata_appendChild
(
IXMLDOMCDATASection
*
iface
,
IXMLDOMNode
*
newNode
,
IXMLDOMNode
**
outNewNode
)
IXMLDOMNode
*
child
,
IXMLDOMNode
**
outChild
)
{
domcdata
*
This
=
impl_from_IXMLDOMCDATASection
(
iface
);
return
IXMLDOMNode_appendChild
(
&
This
->
node
.
IXMLDOMNode_iface
,
newNode
,
outNewNode
);
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
child
,
outChild
);
return
node_append_child
(
&
This
->
node
,
child
,
outChild
);
}
static
HRESULT
WINAPI
domcdata_hasChildNodes
(
...
...
dlls/msxml3/comment.c
View file @
5775bcde
...
...
@@ -339,10 +339,11 @@ static HRESULT WINAPI domcomment_removeChild(
static
HRESULT
WINAPI
domcomment_appendChild
(
IXMLDOMComment
*
iface
,
IXMLDOMNode
*
newNode
,
IXMLDOMNode
**
outNewNode
)
IXMLDOMNode
*
child
,
IXMLDOMNode
**
outChild
)
{
domcomment
*
This
=
impl_from_IXMLDOMComment
(
iface
);
return
IXMLDOMNode_appendChild
(
&
This
->
node
.
IXMLDOMNode_iface
,
newNode
,
outNewNode
);
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
child
,
outChild
);
return
node_append_child
(
&
This
->
node
,
child
,
outChild
);
}
static
HRESULT
WINAPI
domcomment_hasChildNodes
(
...
...
dlls/msxml3/docfrag.c
View file @
5775bcde
...
...
@@ -343,10 +343,11 @@ static HRESULT WINAPI domfrag_removeChild(
static
HRESULT
WINAPI
domfrag_appendChild
(
IXMLDOMDocumentFragment
*
iface
,
IXMLDOMNode
*
newNode
,
IXMLDOMNode
**
outNewNode
)
IXMLDOMNode
*
child
,
IXMLDOMNode
**
outChild
)
{
domfrag
*
This
=
impl_from_IXMLDOMDocumentFragment
(
iface
);
return
IXMLDOMNode_appendChild
(
&
This
->
node
.
IXMLDOMNode_iface
,
newNode
,
outNewNode
);
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
child
,
outChild
);
return
node_append_child
(
&
This
->
node
,
child
,
outChild
);
}
static
HRESULT
WINAPI
domfrag_hasChildNodes
(
...
...
dlls/msxml3/domdoc.c
View file @
5775bcde
...
...
@@ -1228,11 +1228,12 @@ static HRESULT WINAPI domdoc_removeChild(
static
HRESULT
WINAPI
domdoc_appendChild
(
IXMLDOMDocument3
*
iface
,
IXMLDOMNode
*
newC
hild
,
IXMLDOMNode
**
outNew
Child
)
IXMLDOMNode
*
c
hild
,
IXMLDOMNode
**
out
Child
)
{
domdoc
*
This
=
impl_from_IXMLDOMDocument3
(
iface
);
return
IXMLDOMNode_appendChild
(
&
This
->
node
.
IXMLDOMNode_iface
,
newChild
,
outNewChild
);
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
child
,
outChild
);
return
node_append_child
(
&
This
->
node
,
child
,
outChild
);
}
...
...
dlls/msxml3/element.c
View file @
5775bcde
...
...
@@ -354,10 +354,11 @@ static HRESULT WINAPI domelem_removeChild(
static
HRESULT
WINAPI
domelem_appendChild
(
IXMLDOMElement
*
iface
,
IXMLDOMNode
*
newNode
,
IXMLDOMNode
**
outNewNode
)
IXMLDOMNode
*
child
,
IXMLDOMNode
**
outChild
)
{
domelem
*
This
=
impl_from_IXMLDOMElement
(
iface
);
return
IXMLDOMNode_appendChild
(
&
This
->
node
.
IXMLDOMNode_iface
,
newNode
,
outNewNode
);
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
child
,
outChild
);
return
node_append_child
(
&
This
->
node
,
child
,
outChild
);
}
static
HRESULT
WINAPI
domelem_hasChildNodes
(
...
...
dlls/msxml3/entityref.c
View file @
5775bcde
...
...
@@ -337,10 +337,11 @@ static HRESULT WINAPI entityref_removeChild(
static
HRESULT
WINAPI
entityref_appendChild
(
IXMLDOMEntityReference
*
iface
,
IXMLDOMNode
*
newNode
,
IXMLDOMNode
**
outNewNode
)
IXMLDOMNode
*
child
,
IXMLDOMNode
**
outChild
)
{
entityref
*
This
=
impl_from_IXMLDOMEntityReference
(
iface
);
return
IXMLDOMNode_appendChild
(
&
This
->
node
.
IXMLDOMNode_iface
,
newNode
,
outNewNode
);
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
child
,
outChild
);
return
node_append_child
(
&
This
->
node
,
child
,
outChild
);
}
static
HRESULT
WINAPI
entityref_hasChildNodes
(
...
...
dlls/msxml3/msxml_private.h
View file @
5775bcde
...
...
@@ -252,6 +252,7 @@ extern void destroy_xmlnode(xmlnode*);
extern
BOOL
node_query_interface
(
xmlnode
*
,
REFIID
,
void
**
);
extern
xmlnode
*
get_node_obj
(
IXMLDOMNode
*
);
extern
HRESULT
node_append_child
(
xmlnode
*
,
IXMLDOMNode
*
,
IXMLDOMNode
**
);
extern
HRESULT
node_get_nodeName
(
xmlnode
*
,
BSTR
*
);
extern
HRESULT
node_get_content
(
xmlnode
*
,
VARIANT
*
);
extern
HRESULT
node_set_content
(
xmlnode
*
,
LPCWSTR
);
...
...
dlls/msxml3/node.c
View file @
5775bcde
...
...
@@ -433,26 +433,20 @@ HRESULT node_remove_child(xmlnode *This, IXMLDOMNode* child, IXMLDOMNode** oldCh
return
S_OK
;
}
static
HRESULT
WINAPI
xmlnode_appendChild
(
IXMLDOMNode
*
iface
,
IXMLDOMNode
*
newChild
,
IXMLDOMNode
**
outNewChild
)
HRESULT
node_append_child
(
xmlnode
*
This
,
IXMLDOMNode
*
child
,
IXMLDOMNode
**
outChild
)
{
xmlnode
*
This
=
impl_from_IXMLDOMNode
(
iface
);
DOMNodeType
type
;
VARIANT
var
;
HRESULT
hr
;
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
newChild
,
outNewChild
);
hr
=
IXMLDOMNode_get_nodeType
(
newChild
,
&
type
);
hr
=
IXMLDOMNode_get_nodeType
(
child
,
&
type
);
if
(
FAILED
(
hr
)
||
type
==
NODE_ATTRIBUTE
)
{
if
(
outNewChild
)
*
outNew
Child
=
NULL
;
if
(
outChild
)
*
out
Child
=
NULL
;
return
E_FAIL
;
}
VariantInit
(
&
var
);
return
IXMLDOMNode_insertBefore
(
This
->
iface
,
newChild
,
var
,
outNew
Child
);
return
IXMLDOMNode_insertBefore
(
This
->
iface
,
child
,
var
,
out
Child
);
}
static
HRESULT
WINAPI
xmlnode_hasChildNodes
(
...
...
@@ -1147,7 +1141,7 @@ static const struct IXMLDOMNodeVtbl xmlnode_vtbl =
NULL
,
NULL
,
NULL
,
xmlnode_appendChild
,
NULL
,
xmlnode_hasChildNodes
,
xmlnode_get_ownerDocument
,
NULL
,
...
...
@@ -1496,7 +1490,7 @@ static HRESULT WINAPI unknode_appendChild(
IXMLDOMNode
*
newNode
,
IXMLDOMNode
**
outNewNode
)
{
unknode
*
This
=
unknode_from_IXMLDOMNode
(
iface
);
return
IXMLDOMNode_appendChild
(
&
This
->
node
.
IXMLDOMNode_iface
,
newNode
,
outNewNode
);
return
node_append_child
(
&
This
->
node
,
newNode
,
outNewNode
);
}
static
HRESULT
WINAPI
unknode_hasChildNodes
(
...
...
dlls/msxml3/pi.c
View file @
5775bcde
...
...
@@ -353,10 +353,11 @@ static HRESULT WINAPI dom_pi_removeChild(
static
HRESULT
WINAPI
dom_pi_appendChild
(
IXMLDOMProcessingInstruction
*
iface
,
IXMLDOMNode
*
newNode
,
IXMLDOMNode
**
outNewNode
)
IXMLDOMNode
*
child
,
IXMLDOMNode
**
outChild
)
{
dom_pi
*
This
=
impl_from_IXMLDOMProcessingInstruction
(
iface
);
return
IXMLDOMNode_appendChild
(
&
This
->
node
.
IXMLDOMNode_iface
,
newNode
,
outNewNode
);
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
child
,
outChild
);
return
node_append_child
(
&
This
->
node
,
child
,
outChild
);
}
static
HRESULT
WINAPI
dom_pi_hasChildNodes
(
...
...
dlls/msxml3/text.c
View file @
5775bcde
...
...
@@ -352,10 +352,11 @@ static HRESULT WINAPI domtext_removeChild(
static
HRESULT
WINAPI
domtext_appendChild
(
IXMLDOMText
*
iface
,
IXMLDOMNode
*
newNode
,
IXMLDOMNode
**
outNewNode
)
IXMLDOMNode
*
child
,
IXMLDOMNode
**
outChild
)
{
domtext
*
This
=
impl_from_IXMLDOMText
(
iface
);
return
IXMLDOMNode_appendChild
(
&
This
->
node
.
IXMLDOMNode_iface
,
newNode
,
outNewNode
);
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
child
,
outChild
);
return
node_append_child
(
&
This
->
node
,
child
,
outChild
);
}
static
HRESULT
WINAPI
domtext_hasChildNodes
(
...
...
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