| 436 | |
| 437 | #ifdef LUABIND_NO_EXCEPTIONS |
| 438 | void LuaError(lua_State* L) |
| 439 | { |
| 440 | print_output("[ResourceManager.lua_error]", LUA_ERRRUN); |
| 441 | Debug.fatal(DEBUG_INFO, "[ResourceManager.lua_error]: %s", lua_isstring(L, -1) ? lua_tostring(L, -1) : ""); |
| 442 | } |
| 443 | |
| 444 | #ifdef LUABIND_09 |
| 445 | static void lua_cast_failed(lua_State* L, const luabind::type_id& info) |
nothing calls this directly
no test coverage detected