| 194 | |
| 195 | |
| 196 | LUALIB_API int luaL_error (lua_State *L, const char *fmt, ...) { |
| 197 | va_list argp; |
| 198 | va_start(argp, fmt); |
| 199 | luaL_where(L, 1); |
| 200 | lua_pushvfstring(L, fmt, argp); |
| 201 | va_end(argp); |
| 202 | lua_concat(L, 2); |
| 203 | return lua_error(L); |
| 204 | } |
| 205 | |
| 206 | |
| 207 | LUALIB_API int luaL_fileresult (lua_State *L, int stat, const char *fname) { |
no test coverage detected