Commit 0b33ed30 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

variables: privatize callback type enumeration

parent 0b5188ff
......@@ -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
*****************************************************************************/
......
......@@ -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 )
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment