MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / load_file

Method load_file

Libs/sol/sol.hpp:25621–25624  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25619 }
25620
25621 load_result load_file(const std::string& filename, load_mode mode = load_mode::any) {
25622 load_status x = static_cast<load_status>(luaL_loadfilex(L, filename.c_str(), to_string(mode).c_str()));
25623 return load_result(L, absolute_index(L, -1), 1, 1, x);
25624 }
25625
25626 load_result load(lua_Reader reader, void* data, const std::string& chunkname = detail::default_chunk_name(), load_mode mode = load_mode::any) {
25627 detail::typical_chunk_name_t basechunkname = {};

Callers

nothing calls this directly

Calls 5

luaL_loadfilexFunction · 0.85
to_stringFunction · 0.85
load_resultClass · 0.85
absolute_indexClass · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected