From c1bae3a2071e76c6f8d13eb9f05435d0357944cf Mon Sep 17 00:00:00 2001 From: Fierelier Date: Mon, 15 May 2023 11:21:03 +0200 Subject: [PATCH] Move lua*.c --- lua_translate | 2 +- main.c | 2 +- modules/engine/{addon => }/lua.c | 0 modules/engine/{addon => }/lua_manual.c | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename modules/engine/{addon => }/lua.c (100%) rename modules/engine/{addon => }/lua_manual.c (100%) diff --git a/lua_translate b/lua_translate index 1804d6d..d276cbe 100755 --- a/lua_translate +++ b/lua_translate @@ -21,7 +21,7 @@ functionBlacklist = [ ] functions = toml.loads(open("modules/engine/FUNCTIONS.toml").read()) -ofile = open("modules/engine/addon/lua.c","w") +ofile = open("modules/engine/lua.c","w") ofile.write('''\ #include diff --git a/main.c b/main.c index 8edf22e..e10c103 100644 --- a/main.c +++ b/main.c @@ -3,7 +3,7 @@ #include "modules/engine/main.c" #include "modules/engine/frontend/sdl/main.c" #include "modules/engine/frontend/generic/textures.c" -#include "modules/engine/addon/lua.c" +#include "modules/engine/lua.c" int main(int argc, char **argv) { for (int i = 0; i < argc; ++i) { diff --git a/modules/engine/addon/lua.c b/modules/engine/lua.c similarity index 100% rename from modules/engine/addon/lua.c rename to modules/engine/lua.c diff --git a/modules/engine/addon/lua_manual.c b/modules/engine/lua_manual.c similarity index 100% rename from modules/engine/addon/lua_manual.c rename to modules/engine/lua_manual.c