From 053c743724e928ca70070f5d43193836851dd91c Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 17 Dec 2013 01:15:48 +0100 Subject: [PATCH] Rename mp_lua.c/h to lua.c/h --- old-makefile | 8 ++++---- player/command.c | 2 +- player/{mp_lua.c => lua.c} | 2 +- player/{mp_lua.h => lua.h} | 0 player/main.c | 2 +- wscript_build.py | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) rename player/{mp_lua.c => lua.c} (99%) rename player/{mp_lua.h => lua.h} (100%) 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 similarity index 99% rename from player/mp_lua.c rename to 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 similarity index 100% rename from player/mp_lua.h rename to 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" ),