]> git.sesse.net Git - vlc/commitdiff
Lua: remove write-only set_intf()
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 20 Jun 2013 15:53:08 +0000 (18:53 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 20 Jun 2013 15:53:08 +0000 (18:53 +0300)
modules/lua/intf.c
modules/lua/libs/misc.c
modules/lua/vlc.h

index ade62d30d49127502f9cdd9292403b65a4940859..32fe851a7300b416a5eb00060a00e71445b83ace 100644 (file)
@@ -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 );
 
index 2f0d4dc429c6e4edb2d4b52bcdaf75e208f9cf82..b2e0839ae03569d14ca1b701fba4729773290a91 100644 (file)
@@ -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
  *****************************************************************************/
index 8273fbd07a9891bf6d7891d66601d75de4f84fab..a0bbb1cd20504736f7e93a6e2a33b30be42cd6fc 100644 (file)
@@ -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
  *****************************************************************************/