[vlc-devel] commit: LUA: remove misc.signal() - this API does not make much sense ( Rémi Denis-Courmont )
git version control
git at videolan.org
Mon Jan 5 22:11:25 CET 2009
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Mon Jan 5 23:09:01 2009 +0200| [293b8e90ffa0eb0689c27cb5f976d37b4ce84b24] | committer: Rémi Denis-Courmont
LUA: remove misc.signal() - this API does not make much sense
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=293b8e90ffa0eb0689c27cb5f976d37b4ce84b24
---
modules/misc/lua/libs/misc.c | 8 --------
share/lua/README.txt | 1 -
2 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/modules/misc/lua/libs/misc.c b/modules/misc/lua/libs/misc.c
index bca7926..db8bb9f 100644
--- a/modules/misc/lua/libs/misc.c
+++ b/modules/misc/lua/libs/misc.c
@@ -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 },
diff --git a/share/lua/README.txt b/share/lua/README.txt
index c07c0a0..b10ad82 100644
--- a/share/lua/README.txt
+++ b/share/lua/README.txt
@@ -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.
More information about the vlc-devel
mailing list