Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
cc2d7b41
Commit
cc2d7b41
authored
Sep 21, 2008
by
Rémi Denis-Courmont
Browse files
GC: assert pf_destructor
parent
db0e6cf9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libvlc.c
View file @
cc2d7b41
...
...
@@ -126,6 +126,8 @@ 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... */
assert
(
pf_destruct
);
p_gc
->
pf_destructor
=
pf_destruct
;
p_gc
->
refs
=
1
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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