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
8db0dd53
Commit
8db0dd53
authored
Oct 15, 2010
by
Adam Martinson
Committed by
Alexandre Julliard
Oct 18, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Add a function to initialize xmlDoc->_private data.
parent
302d63a2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
domdoc.c
dlls/msxml3/domdoc.c
+6
-0
msxml_private.h
dlls/msxml3/msxml_private.h
+1
-0
No files found.
dlls/msxml3/domdoc.c
View file @
8db0dd53
...
...
@@ -393,6 +393,12 @@ static xmlDocPtr doparse(domdoc* This, char *ptr, int len)
return
doc
;
}
void
xmldoc_init
(
xmlDocPtr
doc
,
const
GUID
*
clsid
)
{
doc
->
_private
=
create_priv
();
priv_from_xmlDocPtr
(
doc
)
->
properties
=
create_properties
(
clsid
);
}
LONG
xmldoc_add_ref
(
xmlDocPtr
doc
)
{
LONG
ref
=
InterlockedIncrement
(
&
priv_from_xmlDocPtr
(
doc
)
->
refs
);
...
...
dlls/msxml3/msxml_private.h
View file @
8db0dd53
...
...
@@ -130,6 +130,7 @@ xmlNodePtr xmlNodePtr_from_domnode( IXMLDOMNode *iface, xmlElementType type );
/* helpers */
extern
xmlChar
*
xmlChar_from_wchar
(
LPCWSTR
str
);
extern
void
xmldoc_init
(
xmlDocPtr
doc
,
const
GUID
*
clsid
);
extern
LONG
xmldoc_add_ref
(
xmlDocPtr
doc
);
extern
LONG
xmldoc_release
(
xmlDocPtr
doc
);
extern
HRESULT
xmldoc_add_orphan
(
xmlDocPtr
doc
,
xmlNodePtr
node
);
...
...
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