8#include <entt_sol/dispatcher/bond.hpp>
9#include <entt_sol/registry/bond.hpp>
10#include <entt_sol/scheduler/script_process.hpp>
18 void Lua::inject_entt() noexcept
20 auto& lua = entt::locator<sol::state>::value();
21 lua.require(
"dispatcher", sol::c_call<
GALAXY_AUTOARG(&entt_sol::open_dispatcher)>,
false);
24 lua.require(
"registry", sol::c_call<
GALAXY_AUTOARG(&entt_sol::open_registry)>,
false);
27 lua.require(
"scheduler", sol::c_call<
GALAXY_AUTOARG(&entt_sol::open_scheduler)>,
false);
#define GALAXY_AUTOARG(x)
Convenient decltype macro.