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
a39251b0
Commit
a39251b0
authored
Dec 09, 2016
by
Nikolay Sivov
Committed by
Alexandre Julliard
Dec 09, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xmllite: Improve writer methods tracing.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a531ade2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
writer.c
dlls/xmllite/writer.c
+7
-7
No files found.
dlls/xmllite/writer.c
View file @
a39251b0
...
...
@@ -447,7 +447,7 @@ static HRESULT WINAPI xmlwriter_QueryInterface(IXmlWriter *iface, REFIID riid, v
{
xmlwriter
*
This
=
impl_from_IXmlWriter
(
iface
);
TRACE
(
"
%p %s %p
\n
"
,
This
,
debugstr_guid
(
riid
),
ppvObject
);
TRACE
(
"
(%p)->(%s %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
ppvObject
);
if
(
IsEqualGUID
(
riid
,
&
IID_IUnknown
)
||
IsEqualGUID
(
riid
,
&
IID_IXmlWriter
))
...
...
@@ -463,23 +463,23 @@ static HRESULT WINAPI xmlwriter_QueryInterface(IXmlWriter *iface, REFIID riid, v
static
ULONG
WINAPI
xmlwriter_AddRef
(
IXmlWriter
*
iface
)
{
xmlwriter
*
This
=
impl_from_IXmlWriter
(
iface
);
TRACE
(
"%p
\n
"
,
This
);
return
InterlockedIncrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(%u)
\n
"
,
This
,
ref
);
return
ref
;
}
static
ULONG
WINAPI
xmlwriter_Release
(
IXmlWriter
*
iface
)
{
xmlwriter
*
This
=
impl_from_IXmlWriter
(
iface
);
LONG
ref
;
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
)
;
TRACE
(
"
%p
\n
"
,
This
);
TRACE
(
"
(%p)->>(%u)
\n
"
,
This
,
ref
);
ref
=
InterlockedDecrement
(
&
This
->
ref
);
if
(
ref
==
0
)
{
struct
element
*
element
,
*
element2
;
IMalloc
*
imalloc
=
This
->
imalloc
;
IXmlWriter_Flush
(
iface
);
writeroutput_flush_stream
(
This
->
output
);
if
(
This
->
output
)
IUnknown_Release
(
&
This
->
output
->
IXmlWriterOutput_iface
);
/* element stack */
...
...
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