]> git.sesse.net Git - vlc/commitdiff
LUA: remove misc.signal() - this API does not make much sense
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Mon, 5 Jan 2009 21:09:01 +0000 (23:09 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Mon, 5 Jan 2009 21:09:01 +0000 (23:09 +0200)
modules/misc/lua/libs/misc.c
share/lua/README.txt

index bca792650f64a013de8ff150e643a4afd3a6dc67..db8bb9f4eed6a861fd4b998ef3e95524c250373d 100644 (file)
@@ -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 },
index c07c0a07a871e733977a14451d09c421aa0e1939..b10ad8217c3c4fe09a1cd2d14f7ba1e589723d3b 100644 (file)
@@ -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.