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
0b33ed30
Commit
0b33ed30
authored
Nov 28, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
variables: privatize callback type enumeration
parent
0b5188ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
include/vlc_common.h
include/vlc_common.h
+0
-6
src/misc/variables.c
src/misc/variables.c
+6
-0
No files found.
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