summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-17 01:15:48 +0100
committerwm4 <wm4@nowhere>2013-12-17 01:15:48 +0100
commit053c743724e928ca70070f5d43193836851dd91c (patch)
treeeb86e81e79592e7da94ba351ccd42e2503706d16
parent56eafe33448780231cd2626239cac443e1cdbab4 (diff)
downloadmpv-053c743724e928ca70070f5d43193836851dd91c.tar.bz2
mpv-053c743724e928ca70070f5d43193836851dd91c.tar.xz
Rename mp_lua.c/h to lua.c/h
-rw-r--r--old-makefile8
-rw-r--r--player/command.c2
-rw-r--r--player/lua.c (renamed from player/mp_lua.c)2
-rw-r--r--player/lua.h (renamed from player/mp_lua.h)0
-rw-r--r--player/main.c2
-rw-r--r--wscript_build.py2
6 files changed, 8 insertions, 8 deletions
diff --git a/old-makefile b/old-makefile
index 8407ecaa6d..6241a10f61 100644
--- a/old-makefile
+++ b/old-makefile
@@ -133,7 +133,7 @@ SOURCES-$(WAYLAND) += video/out/vo_wayland.c video/out/wayland_comm
SOURCES-$(VF_LAVFI) += video/filter/vf_lavfi.c
SOURCES-$(AF_LAVFI) += audio/filter/af_lavfi.c
-SOURCES-$(LUA) += player/mp_lua.c
+SOURCES-$(LUA) += player/lua.c
ifeq ($(HAVE_AVUTIL_REFCOUNTING),no)
SOURCES-yes += video/decode/lavc_dr1.c
@@ -421,15 +421,15 @@ sub/osd_libass.c: sub/osd_font.h
sub/osd_font.h: TOOLS/file2string.pl sub/osd_font.otf
./$^ >$@
-player/mp_lua.c: player/lua/defaults.inc
+player/lua.c: player/lua/defaults.inc
player/lua/defaults.inc: TOOLS/file2string.pl player/lua/defaults.lua
./$^ >$@
-player/mp_lua.c: player/lua/assdraw.inc
+player/lua.c: player/lua/assdraw.inc
player/lua/assdraw.inc: TOOLS/file2string.pl player/lua/assdraw.lua
./$^ >$@
-player/mp_lua.c: player/lua/osc.inc
+player/lua.c: player/lua/osc.inc
player/lua/osc.inc: TOOLS/file2string.pl player/lua/osc.lua
./$^ >$@
diff --git a/player/command.c b/player/command.c
index 35a6ed31bc..8701fff1ec 100644
--- a/player/command.c
+++ b/player/command.c
@@ -73,7 +73,7 @@
#include "osdep/io.h"
#include "core.h"
-#include "mp_lua.h"
+#include "lua.h"
struct command_ctx {
int events;
diff --git a/player/mp_lua.c b/player/lua.c
index 9bae3379ce..d000c85c5f 100644
--- a/player/mp_lua.c
+++ b/player/lua.c
@@ -18,7 +18,7 @@
#include "sub/osd.h"
#include "core.h"
#include "command.h"
-#include "mp_lua.h"
+#include "lua.h"
// List of builtin modules and their contents as strings.
// All these are generated from player/lua/*.lua
diff --git a/player/mp_lua.h b/player/lua.h
index 050548e2d2..050548e2d2 100644
--- a/player/mp_lua.h
+++ b/player/lua.h
diff --git a/player/main.c b/player/main.c
index bef1f69351..d590afc42a 100644
--- a/player/main.c
+++ b/player/main.c
@@ -61,7 +61,7 @@
#include "video/out/vo.h"
#include "core.h"
-#include "mp_lua.h"
+#include "lua.h"
#include "command.h"
#include "screenshot.h"
diff --git a/wscript_build.py b/wscript_build.py
index 538dd7a8cc..703ade0d61 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -214,7 +214,7 @@ def build(ctx):
( "player/loadfile.c" ),
( "player/main.c" ),
( "player/misc.c" ),
- ( "player/mp_lua.c", "lua" ),
+ ( "player/lua.c", "lua" ),
( "player/osd.c" ),
( "player/playloop.c" ),
( "player/screenshot.c" ),