$darkmode
#include <filesystem>#include <sol/protected_function_result.hpp>#include <sol/state_view.hpp>Go to the source code of this file.
Functions | |
| sol::protected_function_result | cloe::lua_safe_script_file (sol::state_view lua, const std::filesystem::path &filepath) |
| auto | cloe::luat_cloe_engine (sol::state_view lua) |
| auto | cloe::luat_cloe_engine_fs (sol::state_view lua) |
| auto | cloe::luat_cloe_engine_types (sol::state_view lua) |
| auto | cloe::luat_cloe_engine_initial_input (sol::state_view lua) |
| auto | cloe::luat_cloe_engine_state (sol::state_view lua) |
| auto | cloe::luat_cloe_engine_plugins (sol::state_view lua) |
This file contains functions for dealing with Lua after it has been set up.
| sol::protected_function_result cloe::lua_safe_script_file | ( | sol::state_view | lua, |
| const std::filesystem::path & | filepath | ||
| ) |
Safely load and run a user Lua script.
|
inline |
Return the cloe-engine table as it is exported into Lua.
If you make any changes to these paths, make sure to reflect it:
engine/lua/cloe-engine/init.lua