Remove unused function luaL_typerror().

This commit is contained in:
Stephan Gatzka 2014-12-21 07:45:36 +01:00
parent 9178451ef9
commit d8f77cca64

View File

@ -78,14 +78,6 @@ static int global_unload(lua_State *L) {
return 0;
}
#if LUA_VERSION_NUM > 501
int luaL_typerror (lua_State *L, int narg, const char *tname) {
const char *msg = lua_pushfstring(L, "%s expected, got %s",
tname, luaL_typename(L, narg));
return luaL_argerror(L, narg, msg);
}
#endif
/*-------------------------------------------------------------------------*\
* Setup basic stuff.
\*-------------------------------------------------------------------------*/