Commit 07662edf authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

lua: remove should_die (always false here)

parent fe3ca6c0
...@@ -140,13 +140,6 @@ static int vlclua_mwait( lua_State *L ) ...@@ -140,13 +140,6 @@ static int vlclua_mwait( lua_State *L )
return 0; return 0;
} }
static int vlclua_intf_should_die( lua_State *L )
{
vlc_object_t *p_this = vlclua_get_this( L );
lua_pushboolean( L, !vlc_object_alive( p_this ) );
return 1;
}
static int vlclua_action_id( lua_State *L ) static int vlclua_action_id( lua_State *L )
{ {
vlc_action_t i_key = vlc_GetActionId( luaL_checkstring( L, 1 ) ); vlc_action_t i_key = vlc_GetActionId( luaL_checkstring( L, 1 ) );
...@@ -169,7 +162,6 @@ static const luaL_Reg vlclua_misc_reg[] = { ...@@ -169,7 +162,6 @@ static const luaL_Reg vlclua_misc_reg[] = {
{ "mdate", vlclua_mdate }, { "mdate", vlclua_mdate },
{ "mwait", vlclua_mwait }, { "mwait", vlclua_mwait },
{ "should_die", vlclua_intf_should_die },
{ "quit", vlclua_quit }, { "quit", vlclua_quit },
{ NULL, NULL } { NULL, NULL }
......
...@@ -155,7 +155,6 @@ misc.action_id( name ): get the id of the given action. ...@@ -155,7 +155,6 @@ misc.action_id( name ): get the id of the given action.
misc.mdate(): Get the current date (in microseconds). misc.mdate(): Get the current date (in microseconds).
misc.mwait(): Wait for the given date (in microseconds). misc.mwait(): Wait for the given date (in microseconds).
misc.should_die(): Returns true if the interface should quit.
misc.quit(): Quit VLC. misc.quit(): Quit VLC.
Net Net
......
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