Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
6d914307
Commit
6d914307
authored
Sep 22, 2008
by
Geoffroy Couprie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no vlc_spin_destroy in GC for Win32
parent
86929a52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/libvlc.c
src/libvlc.c
+2
-1
No files found.
src/libvlc.c
View file @
6d914307
...
@@ -120,7 +120,7 @@ static bool b_daemon = false;
...
@@ -120,7 +120,7 @@ static bool b_daemon = false;
*/
*/
void
*
vlc_gc_init
(
gc_object_t
*
p_gc
,
void
(
*
pf_destruct
)
(
gc_object_t
*
))
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
);
assert
(
pf_destruct
);
p_gc
->
pf_destructor
=
pf_destruct
;
p_gc
->
pf_destructor
=
pf_destruct
;
...
@@ -194,6 +194,7 @@ void vlc_release (gc_object_t *p_gc)
...
@@ -194,6 +194,7 @@ void vlc_release (gc_object_t *p_gc)
if
(
refs
==
0
)
if
(
refs
==
0
)
{
{
#ifdef USE_SYNC
#ifdef USE_SYNC
#elif defined (WIN32) && defined (__GNUC__)
#elif defined(__APPLE__)
#elif defined(__APPLE__)
#else
#else
vlc_spin_destroy
(
&
p_gc
->
spin
);
vlc_spin_destroy
(
&
p_gc
->
spin
);
...
...
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