[vlc-commits] Lua: remove write-only set_intf()
Rémi Denis-Courmont
git at videolan.org
Thu Jun 20 18:14:02 CEST 2013
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jun 20 18:53:08 2013 +0300| [2dc214fbeae3a1a5a25197bd05f1d3ddeee4927a] | committer: Rémi Denis-Courmont
Lua: remove write-only set_intf()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2dc214fbeae3a1a5a25197bd05f1d3ddeee4927a
---
modules/lua/intf.c | 1 -
modules/lua/libs/misc.c | 5 -----
modules/lua/vlc.h | 3 ---
3 files changed, 9 deletions(-)
diff --git a/modules/lua/intf.c b/modules/lua/intf.c
index ade62d3..32fe851 100644
--- a/modules/lua/intf.c
+++ b/modules/lua/intf.c
@@ -238,7 +238,6 @@ static int Start_LuaIntf( vlc_object_t *p_this, const char *name )
}
vlclua_set_this( L, p_intf );
- vlclua_set_intf( L, p_sys );
luaL_openlibs( L );
diff --git a/modules/lua/libs/misc.c b/modules/lua/libs/misc.c
index 2f0d4dc..b2e0839 100644
--- a/modules/lua/libs/misc.c
+++ b/modules/lua/libs/misc.c
@@ -73,11 +73,6 @@ vlc_object_t * vlclua_get_this( lua_State *L )
return vlclua_get_object( L, vlclua_set_this );
}
-void vlclua_set_intf( lua_State *L, intf_sys_t *p_intf )
-{
- vlclua_set_object( L, vlclua_set_intf, p_intf );
-}
-
/*****************************************************************************
* VLC error code translation
*****************************************************************************/
diff --git a/modules/lua/vlc.h b/modules/lua/vlc.h
index 8273fbd..a0bbb1c 100644
--- a/modules/lua/vlc.h
+++ b/modules/lua/vlc.h
@@ -113,9 +113,6 @@ void vlclua_set_this( lua_State *, vlc_object_t * );
#define vlclua_set_this(a, b) vlclua_set_this(a, VLC_OBJECT(b))
vlc_object_t * vlclua_get_this( lua_State * );
-struct intf_sys_t;
-void vlclua_set_intf( lua_State *, struct intf_sys_t * );
-
/*****************************************************************************
* Lua function bridge
*****************************************************************************/
More information about the vlc-commits
mailing list