3#include "lua/chi_modules_lua.h"
20 console_state_(luaL_newstate())
30 auto& L = GetConsoleState();
41 chi_modules::lua_utils::RegisterLuaEntities(L);
45 for (
const auto& [key, entry] : lua_function_registry_)
46 SetLuaFuncNamespaceTableStructure(key, entry.function_ptr);
49 for (
const auto& [key, entry] : function_wrapper_registry_)
51 SetLuaFuncWrapperNamespaceTableStructure(key);
53 for (
const auto& [key, value] : lua_constants_registry_)
54 SetLuaConstant(key, value);
59 for (
const auto& entry : object_maker.Registry())
60 SetObjectNamespaceTableStructure(entry.first);
#define PROJECT_MAJOR_VERSION
#define PROJECT_MINOR_VERSION
#define PROJECT_PATCH_VERSION
static ChiObjectFactory & GetInstance() noexcept
void LoadRegisteredLuaItems()
static Console & GetInstance() noexcept