[vlc-commits] lua/objects: remove dummy object.find
Rémi Denis-Courmont
git at videolan.org
Wed Mar 6 21:57:54 CET 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Mar 6 22:54:24 2019 +0200| [10a4eda3fdaf0ca555f96a6decd10465bf437c2d] | committer: Rémi Denis-Courmont
lua/objects: remove dummy object.find
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=10a4eda3fdaf0ca555f96a6decd10465bf437c2d
---
modules/lua/libs/objects.c | 7 -------
share/lua/README.txt | 2 --
2 files changed, 9 deletions(-)
diff --git a/modules/lua/libs/objects.c b/modules/lua/libs/objects.c
index 58397f16dc..316e64aae5 100644
--- a/modules/lua/libs/objects.c
+++ b/modules/lua/libs/objects.c
@@ -74,12 +74,6 @@ static int vlclua_input_release(lua_State *L)
return 0;
}
-static int vlclua_object_find( lua_State *L )
-{
- lua_pushnil( L );
- return 1;
-}
-
static int vlclua_get_libvlc( lua_State *L )
{
libvlc_int_t *p_libvlc = vlc_object_instance(vlclua_get_this( L ));
@@ -162,7 +156,6 @@ static const luaL_Reg vlclua_object_reg[] = {
{ "input", vlclua_get_input },
{ "playlist", vlclua_get_playlist },
{ "libvlc", vlclua_get_libvlc },
- { "find", vlclua_object_find },
{ "vout", vlclua_get_vout},
{ "aout", vlclua_get_aout},
{ NULL, NULL }
diff --git a/share/lua/README.txt b/share/lua/README.txt
index 579e203c16..c540c03030 100644
--- a/share/lua/README.txt
+++ b/share/lua/README.txt
@@ -237,8 +237,6 @@ object.libvlc(): Get the libvlc object.
object.aout(): Get the audio output object.
object.vout(): Get the video output object.
-object.find( object, type, mode ): Return nil. DO NOT USE.
-
OSD
---
osd.icon( type, [id] ): Display an icon on the given OSD channel. Uses the
More information about the vlc-commits
mailing list