diff options
| author | frosty <gabriel@bwaaa.monster> | 2026-04-22 22:30:21 -0400 |
|---|---|---|
| committer | dacctal <dacctalyt@gmail.com> | 2026-04-24 03:39:52 +0000 |
| commit | f1d7a1903e49c75f9965693247e8d102a96b482c (patch) | |
| tree | 1edd5ebe0a62c00353f824581a24e0afa305873f /include/lua_state.hh | |
| parent | 0b9cc83f71399a41cf4e93ef82af7c8ba5c2ab96 (diff) | |
misc optimisations and QoL improvements
Diffstat (limited to 'include/lua_state.hh')
| -rw-r--r-- | include/lua_state.hh | 18 |
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 |
