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
12d87f6a
Commit
12d87f6a
authored
Apr 23, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lua: remove var.command
(not to be confused with var.libvlc_command and var.vlm_command)
parent
e1f0bc34
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
26 deletions
+0
-26
modules/lua/libs/variables.c
modules/lua/libs/variables.c
+0
-24
share/lua/README.txt
share/lua/README.txt
+0
-2
No files found.
modules/lua/libs/variables.c
View file @
12d87f6a
...
...
@@ -230,29 +230,6 @@ static int vlclua_var_get_list( lua_State *L )
return
2
;
}
static
int
vlclua_command
(
lua_State
*
L
)
{
vlc_object_t
*
p_this
=
vlclua_get_this
(
L
);
char
*
psz_msg
;
const
char
*
psz_name
=
luaL_checkstring
(
L
,
1
);
const
char
*
psz_cmd
=
luaL_checkstring
(
L
,
2
);
const
char
*
psz_arg
=
luaL_checkstring
(
L
,
3
);
int
ret
=
var_Command
(
p_this
,
psz_name
,
psz_cmd
,
psz_arg
,
&
psz_msg
);
lua_pop
(
L
,
3
);
if
(
psz_msg
)
{
lua_pushstring
(
L
,
psz_msg
);
free
(
psz_msg
);
}
else
{
lua_pushliteral
(
L
,
""
);
}
return
vlclua_push_ret
(
L
,
ret
)
+
1
;
}
static
int
vlclua_libvlc_command
(
lua_State
*
L
)
{
vlc_object_t
*
p_this
=
vlclua_get_this
(
L
);
...
...
@@ -373,7 +350,6 @@ static const luaL_Reg vlclua_var_reg[] = {
{
"set"
,
vlclua_var_set
},
{
"create"
,
vlclua_var_create
},
{
"trigger_callback"
,
vlclua_trigger_callback
},
{
"command"
,
vlclua_command
},
{
"libvlc_command"
,
vlclua_libvlc_command
},
{
"inc_integer"
,
vlclua_inc_integer
},
{
"dec_integer"
,
vlclua_dec_integer
},
...
...
share/lua/README.txt
View file @
12d87f6a
...
...
@@ -384,8 +384,6 @@ var.create( object, name, value ): Create and set the object's variable "name"
var.trigger_callback( object, name ): Trigger the callbacks associated with the
object's "name" variable.
var.command( object name, name, argument ): Issue "object name"'s "name"
command with argument "argument".
var.libvlc_command( name, argument ): Issue libvlc's "name" command with
argument "argument".
...
...
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