| 229 | |
| 230 | |
| 231 | LUALIB_API int luaL_error(lua_State *L, const char *fmt, ...) { |
| 232 | va_list argp; |
| 233 | va_start(argp, fmt); |
| 234 | luaL_where(L, 1); |
| 235 | lua_pushvfstring(L, fmt, argp); |
| 236 | va_end(argp); |
| 237 | lua_concat(L, 2); |
| 238 | return lua_error(L); |
| 239 | } |
| 240 | |
| 241 | |
| 242 | LUALIB_API int luaL_fileresult(lua_State *L, int stat, const char *fname) { |
no test coverage detected