aboutsummaryrefslogtreecommitdiff
path: root/include/lua_state.hh
diff options
context:
space:
mode:
Diffstat (limited to 'include/lua_state.hh')
-rw-r--r--include/lua_state.hh18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/lua_state.hh b/include/lua_state.hh
new file mode 100644
index 0000000..a8dfed8
--- /dev/null
+++ b/include/lua_state.hh
@@ -0,0 +1,18 @@
+#ifndef LUA_STATE
+#define LUA_STATE
+
+extern "C" {
+#include <luajit-2.1/lua.h>
+#include <luajit-2.1/lauxlib.h>
+#include <luajit-2.1/lualib.h>
+}
+
+void init_lua_state();
+void free_lua_state();
+lua_State* get_lua_state();
+
+void cache_install_directories();
+void cache_repos();
+void cache_build_systems();
+
+#endif \ No newline at end of file