[vlc-commits] lua: remove useless header file

Rémi Denis-Courmont git at videolan.org
Wed Mar 6 21:57:41 CET 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Mar  6 22:27:34 2019 +0200| [d8ddb20fde247a13dc034339fc15b325110988e1] | committer: Rémi Denis-Courmont

lua: remove useless header file

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d8ddb20fde247a13dc034339fc15b325110988e1
---

 modules/lua/Makefile.am      |  2 +-
 modules/lua/libs/objects.h   | 32 --------------------------------
 modules/lua/libs/variables.c |  1 -
 3 files changed, 1 insertion(+), 34 deletions(-)

diff --git a/modules/lua/Makefile.am b/modules/lua/Makefile.am
index 1d5ef6fa1f..a8bb596039 100644
--- a/modules/lua/Makefile.am
+++ b/modules/lua/Makefile.am
@@ -18,7 +18,7 @@ liblua_plugin_la_SOURCES = \
 	lua/libs/messages.c \
 	lua/libs/misc.c lua/libs/misc.h \
 	lua/libs/net.c \
-	lua/libs/objects.c lua/libs/objects.h \
+	lua/libs/objects.c \
 	lua/libs/osd.c \
 	lua/libs/playlist.c \
 	lua/libs/sd.c \
diff --git a/modules/lua/libs/objects.h b/modules/lua/libs/objects.h
deleted file mode 100644
index 5557bfdb9b..0000000000
--- a/modules/lua/libs/objects.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/*****************************************************************************
- * objects.h: Generic lua<->vlc object wrapper
- *****************************************************************************
- * Copyright (C) 2007-2008 the VideoLAN team
- *
- * Authors: Antoine Cellerier <dionoea at videolan tod org>
- *          Pierre d'Herbemont <pdherbemont # videolan.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
- *****************************************************************************/
-
-#ifndef VLC_LUA_OBJECTS_H
-#define VLC_LUA_OBJECTS_H
-
-int vlclua_push_vlc_object( lua_State *L, vlc_object_t *p_obj );
-#define vlclua_push_vlc_object( a, b ) \
-        vlclua_push_vlc_object( a, VLC_OBJECT( b ) )
-
-#endif
-
diff --git a/modules/lua/libs/variables.c b/modules/lua/libs/variables.c
index e724ac2306..21e300cd16 100644
--- a/modules/lua/libs/variables.c
+++ b/modules/lua/libs/variables.c
@@ -38,7 +38,6 @@
 #include "../vlc.h"
 #include "../libs.h"
 #include "variables.h"
-#include "objects.h"
 
 /*****************************************************************************
  * Variables handling



More information about the vlc-commits mailing list