| 80 | |
| 81 | #ifdef LUABIND_NO_EXCEPTIONS |
| 82 | static void lua_cast_failed(lua_State* L, LUABIND_TYPE_INFO info) |
| 83 | { |
| 84 | CScriptEngine::print_output(L, "[" __FUNCTION__ "]", LUA_ERRRUN); |
| 85 | |
| 86 | const char* info_name = info->name(); |
| 87 | |
| 88 | Msg("!![%s] LUA error: cannot cast lua value to [%s]", __FUNCTION__, info_name); |
| 89 | // FATAL("[%s] LUA error: cannot cast lua value to [%s]", __FUNCTION__, info_name); //KRodin: Тут наверное вылетать не надо. |
| 90 | } |
| 91 | #endif |
| 92 | |
| 93 | static int auto_load(lua_State* L) |
nothing calls this directly
no test coverage detected