MCPcopy Create free account
hub / github.com/crownengine/crown / luaL_typerror

Function luaL_typerror

3rdparty/lua/src/lauxlib.c:61–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

tag_errorFunction · 0.70
luaL_checkudataFunction · 0.70
check_temporaryMethod · 0.50

Calls 2

lua_pushfstringFunction · 0.70
luaL_argerrorFunction · 0.70

Tested by

no test coverage detected