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
b0feb464
Commit
b0feb464
authored
Jul 24, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove var_SetVoid: this function is doing exactly the same job than
var_TriggerCallback but slowly.
parent
1c8e75e8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
17 deletions
+0
-17
include/vlc_variables.h
include/vlc_variables.h
+0
-17
No files found.
include/vlc_variables.h
View file @
b0feb464
...
@@ -261,19 +261,6 @@ static inline int __var_SetString( vlc_object_t *p_obj, const char *psz_name, co
...
@@ -261,19 +261,6 @@ static inline int __var_SetString( vlc_object_t *p_obj, const char *psz_name, co
return
var_SetChecked
(
p_obj
,
psz_name
,
VLC_VAR_STRING
,
val
);
return
var_SetChecked
(
p_obj
,
psz_name
,
VLC_VAR_STRING
,
val
);
}
}
/**
* Trigger the callbacks on a void variable
*
* \param p_obj The object that holds the variable
* \param psz_name The name of the variable
*/
static
inline
int
__var_SetVoid
(
vlc_object_t
*
p_obj
,
const
char
*
psz_name
)
{
vlc_value_t
val
;
val
.
b_bool
=
true
;
return
var_SetChecked
(
p_obj
,
psz_name
,
VLC_VAR_VOID
,
val
);
}
/**
/**
* Set the value of a pointer variable
* Set the value of a pointer variable
*
*
...
@@ -309,10 +296,6 @@ int __var_SetAddress( vlc_object_t *p_obj, const char *psz_name, void *ptr )
...
@@ -309,10 +296,6 @@ int __var_SetAddress( vlc_object_t *p_obj, const char *psz_name, void *ptr )
* __var_SetString() with automatic casting
* __var_SetString() with automatic casting
*/
*/
#define var_SetString(a,b,c) __var_SetString( VLC_OBJECT(a),b,c)
#define var_SetString(a,b,c) __var_SetString( VLC_OBJECT(a),b,c)
/**
* __var_SetVoid() with automatic casting
*/
#define var_SetVoid(a,b) __var_SetVoid( VLC_OBJECT(a),b)
/**
/**
* __var_SetAddress() with automatic casting
* __var_SetAddress() with automatic casting
*/
*/
...
...
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