| 25391 | meta::disable_any<meta::is_string_constructible<meta::unqualified_t<Fx>>, |
| 25392 | meta::is_specialization_of<meta::unqualified_t<Fx>, basic_environment>> = meta::enabler> |
| 25393 | protected_function_result safe_script( |
| 25394 | lua_Reader reader, void* data, Fx&& on_error, const std::string& chunkname = detail::default_chunk_name(), load_mode mode = load_mode::any) { |
| 25395 | protected_function_result pfr = do_reader(reader, data, chunkname, mode); |
| 25396 | if (!pfr.valid()) { |
| 25397 | return on_error(L, std::move(pfr)); |
| 25398 | } |
| 25399 | return pfr; |
| 25400 | } |
| 25401 | |
| 25402 | protected_function_result safe_script( |
| 25403 | lua_Reader reader, void* data, const std::string& chunkname = detail::default_chunk_name(), load_mode mode = load_mode::any) { |
no test coverage detected