Commit 2dc214fb authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Lua: remove write-only set_intf()

parent 4a1143be
......@@ -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 );
......
......@@ -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
*****************************************************************************/
......
......@@ -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
*****************************************************************************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment