| 10296 | |
| 10297 | |
| 10298 | LUALIB_API int luaL_error (lua_State *L, const char *fmt, ...) { |
| 10299 | va_list argp; |
| 10300 | va_start(argp, fmt); |
| 10301 | luaL_where(L, 1); |
| 10302 | lua_pushvfstring(L, fmt, argp); |
| 10303 | va_end(argp); |
| 10304 | lua_concat(L, 2); |
| 10305 | return lua_error(L); |
| 10306 | } |
| 10307 | |
| 10308 | /* }====================================================== */ |
| 10309 |
no test coverage detected