MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / luaL_checktype

Function luaL_checktype

source/extern/lua/lauxlib.c:378–381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376
377
378LUALIB_API void luaL_checktype (lua_State *L, int arg, int t) {
379 if (lua_type(L, arg) != t)
380 tag_error(L, arg, t);
381}
382
383
384LUALIB_API void luaL_checkany (lua_State *L, int arg) {

Callers 15

luaB_tonumberFunction · 0.85
luaB_setmetatableFunction · 0.85
luaB_rawgetFunction · 0.85
luaB_rawsetFunction · 0.85
luaB_nextFunction · 0.85
luaB_loadFunction · 0.85
luaB_xpcallFunction · 0.85
str_dumpFunction · 0.85
luaB_cocreateFunction · 0.85
checktabFunction · 0.85
maxnFunction · 0.85
sortFunction · 0.85

Calls 2

lua_typeFunction · 0.85
tag_errorFunction · 0.85

Tested by

no test coverage detected