lua: change the way native functions are binded (#1543)

This commit is contained in:
Quentin
2023-06-27 20:13:05 +02:00
committed by GitHub
parent 5fc6ef8fb5
commit c3121de8e7
14 changed files with 6810 additions and 124885 deletions

View File

@ -15,7 +15,7 @@ namespace big
void unload_module(rage::joaat_t module_id);
void load_module(const std::string& module_name);
std::weak_ptr<lua_module> get_module(rage::joaat_t module_id);
const std::vector<std::shared_ptr<lua_module>>& get_modules();
const std::vector<std::shared_ptr<lua_module>>& get_modules() const;
void reload_all_modules();
void handle_error(const sol::error& error, const sol::state_view& state);