mirror of https://code.videolan.org/videolan/vlc
LUA: remove misc.signal() - this API does not make much sense
This commit is contained in:
parent
603cc336e8
commit
293b8e90ff
|
@ -185,13 +185,6 @@ static int vlclua_lock_and_wait( lua_State *L )
|
|||
return 1;
|
||||
}
|
||||
|
||||
static int vlclua_signal( lua_State *L )
|
||||
{
|
||||
vlc_object_t *p_this = vlclua_get_this( L );
|
||||
vlc_object_signal( p_this );
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int vlclua_mdate( lua_State *L )
|
||||
{
|
||||
lua_pushnumber( L, mdate() );
|
||||
|
@ -231,7 +224,6 @@ static const luaL_Reg vlclua_misc_reg[] = {
|
|||
{ "mwait", vlclua_mwait },
|
||||
|
||||
{ "lock_and_wait", vlclua_lock_and_wait },
|
||||
{ "signal", vlclua_signal },
|
||||
|
||||
{ "should_die", vlclua_intf_should_die },
|
||||
{ "quit", vlclua_quit },
|
||||
|
|
|
@ -101,7 +101,6 @@ misc.mdate(): Get the current date (in milliseconds).
|
|||
misc.mwait(): Wait for the given date (in milliseconds).
|
||||
|
||||
misc.lock_and_wait(): Lock our object thread and wait for a wake up signal.
|
||||
misc.signal(): Wake up our object thread.
|
||||
|
||||
misc.should_die(): Returns true if the interface should quit.
|
||||
misc.quit(): Quit VLC.
|
||||
|
|
Loading…
Reference in New Issue