[vlc-commits] lua: remove should_die (always false here)
Rémi Denis-Courmont
git at videolan.org
Sun Mar 24 17:53:13 CET 2013
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar 24 18:52:24 2013 +0200| [07662edf806e58937e53c765d2b1d8a80ce300d6] | committer: Rémi Denis-Courmont
lua: remove should_die (always false here)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=07662edf806e58937e53c765d2b1d8a80ce300d6
---
modules/lua/libs/misc.c | 8 --------
share/lua/README.txt | 1 -
2 files changed, 9 deletions(-)
diff --git a/modules/lua/libs/misc.c b/modules/lua/libs/misc.c
index 5cb941c..2f0d4dc 100644
--- a/modules/lua/libs/misc.c
+++ b/modules/lua/libs/misc.c
@@ -140,13 +140,6 @@ static int vlclua_mwait( lua_State *L )
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 )
{
vlc_action_t i_key = vlc_GetActionId( luaL_checkstring( L, 1 ) );
@@ -169,7 +162,6 @@ static const luaL_Reg vlclua_misc_reg[] = {
{ "mdate", vlclua_mdate },
{ "mwait", vlclua_mwait },
- { "should_die", vlclua_intf_should_die },
{ "quit", vlclua_quit },
{ NULL, NULL }
diff --git a/share/lua/README.txt b/share/lua/README.txt
index 74512be..580f87f 100644
--- a/share/lua/README.txt
+++ b/share/lua/README.txt
@@ -155,7 +155,6 @@ misc.action_id( name ): get the id of the given action.
misc.mdate(): Get the current 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.
Net
More information about the vlc-commits
mailing list