| 61 | |
| 62 | |
| 63 | LUALIB_API int luaL_typerror (lua_State *L, int narg, const char *tname) { |
| 64 | const char *msg = lua_pushfstring(L, "%s expected, got %s", |
| 65 | tname, luaL_typename(L, narg)); |
| 66 | return luaL_argerror(L, narg, msg); |
| 67 | } |
| 68 | |
| 69 | |
| 70 | static void tag_error (lua_State *L, int narg, int tag) { |
no test coverage detected