Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
6d914307
Commit
6d914307
authored
Sep 22, 2008
by
geal
Browse files
no vlc_spin_destroy in GC for Win32
parent
86929a52
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libvlc.c
View file @
6d914307
...
...
@@ -120,7 +120,7 @@ static bool b_daemon = false;
*/
void
*
vlc_gc_init
(
gc_object_t
*
p_gc
,
void
(
*
pf_destruct
)
(
gc_object_t
*
))
{
/* There is no point in using the GC if there is destructor... */
/* There is no point in using the GC if there is
no
destructor... */
assert
(
pf_destruct
);
p_gc
->
pf_destructor
=
pf_destruct
;
...
...
@@ -194,6 +194,7 @@ void vlc_release (gc_object_t *p_gc)
if
(
refs
==
0
)
{
#ifdef USE_SYNC
#elif defined (WIN32) && defined (__GNUC__)
#elif defined(__APPLE__)
#else
vlc_spin_destroy
(
&
p_gc
->
spin
);
...
...
Write
Preview
Supports
Markdown
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