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
f0f4e105
Commit
f0f4e105
authored
Feb 22, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 22, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windows.media.speech: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
05f0b754
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
Makefile.in
dlls/windows.media.speech/Makefile.in
+0
-1
main.c
dlls/windows.media.speech/main.c
+8
-8
No files found.
dlls/windows.media.speech/Makefile.in
View file @
f0f4e105
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
windows.media.speech.dll
IMPORTS
=
combase uuid
...
...
dlls/windows.media.speech/main.c
View file @
f0f4e105
...
...
@@ -81,7 +81,7 @@ static ULONG STDMETHODCALLTYPE vector_view_voice_information_AddRef(
{
struct
voice_information_vector
*
impl
=
impl_from_IVectorView_VoiceInformation
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
impl
->
ref
);
TRACE
(
"iface %p, ref %u.
\n
"
,
iface
,
ref
);
TRACE
(
"iface %p, ref %
l
u.
\n
"
,
iface
,
ref
);
return
ref
;
}
...
...
@@ -90,7 +90,7 @@ static ULONG STDMETHODCALLTYPE vector_view_voice_information_Release(
{
struct
voice_information_vector
*
impl
=
impl_from_IVectorView_VoiceInformation
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
impl
->
ref
);
TRACE
(
"iface %p, ref %u.
\n
"
,
iface
,
ref
);
TRACE
(
"iface %p, ref %
l
u.
\n
"
,
iface
,
ref
);
return
ref
;
}
...
...
@@ -222,7 +222,7 @@ static ULONG STDMETHODCALLTYPE speech_synthesizer_AddRef(
struct
speech_synthesizer
*
impl
=
impl_from_ISpeechSynthesizer
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
impl
->
ref
);
TRACE
(
"iface %p, ref %u.
\n
"
,
iface
,
ref
);
TRACE
(
"iface %p, ref %
l
u.
\n
"
,
iface
,
ref
);
return
ref
;
}
...
...
@@ -233,7 +233,7 @@ static ULONG STDMETHODCALLTYPE speech_synthesizer_Release(
struct
speech_synthesizer
*
impl
=
impl_from_ISpeechSynthesizer
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
impl
->
ref
);
TRACE
(
"iface %p, ref %u.
\n
"
,
iface
,
ref
);
TRACE
(
"iface %p, ref %
l
u.
\n
"
,
iface
,
ref
);
if
(
!
ref
)
free
(
impl
);
...
...
@@ -326,7 +326,7 @@ static ULONG STDMETHODCALLTYPE closable_AddRef(
struct
speech_synthesizer
*
impl
=
impl_from_IClosable
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
impl
->
ref
);
TRACE
(
"iface %p, ref %u.
\n
"
,
iface
,
ref
);
TRACE
(
"iface %p, ref %
l
u.
\n
"
,
iface
,
ref
);
return
ref
;
}
...
...
@@ -337,7 +337,7 @@ static ULONG STDMETHODCALLTYPE closable_Release(
struct
speech_synthesizer
*
impl
=
impl_from_IClosable
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
impl
->
ref
);
TRACE
(
"iface %p, ref %u.
\n
"
,
iface
,
ref
);
TRACE
(
"iface %p, ref %
l
u.
\n
"
,
iface
,
ref
);
if
(
!
ref
)
free
(
impl
);
...
...
@@ -442,7 +442,7 @@ static ULONG STDMETHODCALLTYPE windows_media_speech_AddRef(
{
struct
windows_media_speech
*
impl
=
impl_from_IActivationFactory
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
impl
->
ref
);
TRACE
(
"iface %p, ref %u.
\n
"
,
iface
,
ref
);
TRACE
(
"iface %p, ref %
l
u.
\n
"
,
iface
,
ref
);
return
ref
;
}
...
...
@@ -451,7 +451,7 @@ static ULONG STDMETHODCALLTYPE windows_media_speech_Release(
{
struct
windows_media_speech
*
impl
=
impl_from_IActivationFactory
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
impl
->
ref
);
TRACE
(
"iface %p, ref %u.
\n
"
,
iface
,
ref
);
TRACE
(
"iface %p, ref %
l
u.
\n
"
,
iface
,
ref
);
return
ref
;
}
...
...
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