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
0b33ed30
Commit
0b33ed30
authored
Nov 28, 2015
by
Rémi Denis-Courmont
Browse files
variables: privatize callback type enumeration
parent
0b5188ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/vlc_common.h
View file @
0b33ed30
...
...
@@ -383,12 +383,6 @@ typedef int ( * vlc_list_callback_t ) ( vlc_object_t *, /* variable's objec
vlc_value_t
*
,
/* new/deleted value */
void
*
);
/* callback data */
typedef
enum
{
vlc_value_callback
,
vlc_list_callback
}
vlc_callback_type_t
;
/*****************************************************************************
* OS-specific headers and thread types
*****************************************************************************/
...
...
src/misc/variables.c
View file @
0b33ed30
...
...
@@ -892,6 +892,12 @@ int var_Get( vlc_object_t *p_this, const char *psz_name, vlc_value_t *p_val )
return
var_GetChecked
(
p_this
,
psz_name
,
0
,
p_val
);
}
typedef
enum
{
vlc_value_callback
,
vlc_list_callback
}
vlc_callback_type_t
;
static
void
AddCallback
(
vlc_object_t
*
p_this
,
const
char
*
psz_name
,
callback_entry_t
entry
,
vlc_callback_type_t
i_type
)
{
...
...
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