summaryrefslogtreecommitdiff
path: root/src/config/lua/LuaBindings.hpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2026-04-26 15:16:36 +0100
committerGitHub <noreply@github.com>2026-04-26 15:16:36 +0100
commit5ba33f846129f3e6c0505b19f94634b24505e828 (patch)
treeaaacabe678006040c342935481a86607c66607fd /src/config/lua/LuaBindings.hpp
parent329b2b356dd92ac07f4e2aa69cbce82ee9ba9d19 (diff)
config/lua: init lua config manager, use lua if available (#13817)
Adds a new lua config manager, which will automatically be used if there is a lua config present.
Diffstat (limited to 'src/config/lua/LuaBindings.hpp')
-rw-r--r--src/config/lua/LuaBindings.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/config/lua/LuaBindings.hpp b/src/config/lua/LuaBindings.hpp
new file mode 100644
index 00000000..e8f307bd
--- /dev/null
+++ b/src/config/lua/LuaBindings.hpp
@@ -0,0 +1,13 @@
+#pragma once
+
+extern "C" {
+#include <lua.h>
+}
+
+namespace Config::Lua {
+ class CConfigManager;
+}
+
+namespace Config::Lua::Bindings {
+ void registerBindings(lua_State* L, CConfigManager* mgr);
+}