| 188 | |
| 189 | |
| 190 | LUALIB_API int luaL_error (lua_State *L, const char *fmt, ...) { |
| 191 | va_list argp; |
| 192 | va_start(argp, fmt); |
| 193 | luaL_where(L, 1); |
| 194 | lua_pushvfstring(L, fmt, argp); |
| 195 | va_end(argp); |
| 196 | lua_concat(L, 2); |
| 197 | return lua_error(L); |
| 198 | } |
| 199 | |
| 200 | |
| 201 | #if !defined(inspectstat) /* { */ |
no test coverage detected