| 24801 | } |
| 24802 | |
| 24803 | load_result load_file(const std::string& filename, load_mode mode = load_mode::any) { |
| 24804 | load_status x = static_cast<load_status>(luaL_loadfilex(L, filename.c_str(), to_string(mode).c_str())); |
| 24805 | return load_result(L, absolute_index(L, -1), 1, 1, x); |
| 24806 | } |
| 24807 | |
| 24808 | load_result load(lua_Reader reader, void* data, const std::string& chunkname = detail::default_chunk_name(), load_mode mode = load_mode::any) { |
| 24809 | detail::typical_chunk_name_t basechunkname = {}; |
nothing calls this directly
no test coverage detected