[vlc-commits] lua: remove sd.remove_all_items_nodes()
Rémi Denis-Courmont
git at videolan.org
Mon Nov 14 19:41:07 CET 2016
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Nov 14 20:31:41 2016 +0200| [893ef33acc24be1d29ec4454c3c79fceb8412e8c] | committer: Rémi Denis-Courmont
lua: remove sd.remove_all_items_nodes()
This is neither used nor documented.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=893ef33acc24be1d29ec4454c3c79fceb8412e8c
---
modules/lua/libs/sd.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/modules/lua/libs/sd.c b/modules/lua/libs/sd.c
index bfe8e19..65c36c6 100644
--- a/modules/lua/libs/sd.c
+++ b/modules/lua/libs/sd.c
@@ -344,13 +344,6 @@ static int vlclua_sd_remove_node( lua_State *L )
}
-static int vlclua_sd_remove_all_items_nodes( lua_State *L )
-{
- services_discovery_t *p_sd = (services_discovery_t *)vlclua_get_this( L );
- services_discovery_RemoveAll( p_sd );
- return 1;
-}
-
static int vlclua_node_add_subitem( lua_State *L )
{
services_discovery_t *p_sd = (services_discovery_t *)vlclua_get_this( L );
@@ -480,7 +473,6 @@ static const luaL_Reg vlclua_sd_sd_reg[] = {
{ "add_item", vlclua_sd_add_item },
{ "remove_item", vlclua_sd_remove_item },
{ "remove_node", vlclua_sd_remove_node },
- { "remove_all_items_nodes", vlclua_sd_remove_all_items_nodes },
{ NULL, NULL }
};
More information about the vlc-commits
mailing list