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
62877d4d
Commit
62877d4d
authored
Feb 18, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 18, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uianimation: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ca4cc572
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
13 deletions
+12
-13
Makefile.in
dlls/uianimation/Makefile.in
+0
-1
main.c
dlls/uianimation/main.c
+12
-12
No files found.
dlls/uianimation/Makefile.in
View file @
62877d4d
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
uianimation.dll
IMPORTS
=
uuid
...
...
dlls/uianimation/main.c
View file @
62877d4d
...
...
@@ -139,7 +139,7 @@ static ULONG WINAPI animation_storyboard_AddRef( IUIAnimationStoryboard *iface )
struct
animation_storyboard
*
This
=
impl_from_IUIAnimationStoryboard
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref = %u
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref = %
l
u
\n
"
,
This
,
ref
);
return
ref
;
}
...
...
@@ -148,7 +148,7 @@ static ULONG WINAPI animation_storyboard_Release( IUIAnimationStoryboard *iface
struct
animation_storyboard
*
This
=
impl_from_IUIAnimationStoryboard
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref = %u
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref = %
l
u
\n
"
,
This
,
ref
);
if
(
!
ref
)
heap_free
(
This
);
...
...
@@ -359,7 +359,7 @@ static ULONG WINAPI animation_var_AddRef( IUIAnimationVariable *iface )
struct
animation_var
*
This
=
impl_from_IUIAnimationVariable
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref = %u
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref = %
l
u
\n
"
,
This
,
ref
);
return
ref
;
}
...
...
@@ -368,7 +368,7 @@ static ULONG WINAPI animation_var_Release( IUIAnimationVariable *iface )
struct
animation_var
*
This
=
impl_from_IUIAnimationVariable
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref = %u
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref = %
l
u
\n
"
,
This
,
ref
);
if
(
!
ref
)
heap_free
(
This
);
...
...
@@ -548,7 +548,7 @@ static ULONG WINAPI manager_AddRef( IUIAnimationManager *iface )
struct
manager
*
This
=
impl_from_IUIAnimationManager
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref = %u
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref = %
l
u
\n
"
,
This
,
ref
);
return
ref
;
}
...
...
@@ -557,7 +557,7 @@ static ULONG WINAPI manager_Release( IUIAnimationManager *iface )
struct
manager
*
This
=
impl_from_IUIAnimationManager
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref = %u
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref = %
l
u
\n
"
,
This
,
ref
);
if
(
!
ref
)
{
...
...
@@ -781,7 +781,7 @@ static ULONG WINAPI timer_AddRef( IUIAnimationTimer *iface )
struct
timer
*
This
=
impl_from_IUIAnimationTimer
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref = %u
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref = %
l
u
\n
"
,
This
,
ref
);
return
ref
;
}
...
...
@@ -790,7 +790,7 @@ static ULONG WINAPI timer_Release( IUIAnimationTimer *iface )
struct
timer
*
This
=
impl_from_IUIAnimationTimer
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref = %u
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref = %
l
u
\n
"
,
This
,
ref
);
if
(
!
ref
)
heap_free
(
This
);
...
...
@@ -918,7 +918,7 @@ static ULONG WINAPI tr_factory_AddRef( IUIAnimationTransitionFactory *iface )
struct
tr_factory
*
This
=
impl_from_IUIAnimationTransitionFactory
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref = %u
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref = %
l
u
\n
"
,
This
,
ref
);
return
ref
;
}
...
...
@@ -927,7 +927,7 @@ static ULONG WINAPI tr_factory_Release( IUIAnimationTransitionFactory *iface )
struct
tr_factory
*
This
=
impl_from_IUIAnimationTransitionFactory
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref = %u
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref = %
l
u
\n
"
,
This
,
ref
);
if
(
!
ref
)
heap_free
(
This
);
...
...
@@ -1005,7 +1005,7 @@ static ULONG WINAPI tr_library_AddRef( IUIAnimationTransitionLibrary *iface )
struct
tr_library
*
This
=
impl_from_IUIAnimationTransitionLibrary
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref = %u
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref = %
l
u
\n
"
,
This
,
ref
);
return
ref
;
}
...
...
@@ -1014,7 +1014,7 @@ static ULONG WINAPI tr_library_Release( IUIAnimationTransitionLibrary *iface )
struct
tr_library
*
This
=
impl_from_IUIAnimationTransitionLibrary
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref = %u
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref = %
l
u
\n
"
,
This
,
ref
);
if
(
!
ref
)
heap_free
(
This
);
...
...
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