Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/axmolengine/axmol
/ luaL_checktype
Function
luaL_checktype
3rdparty/lua/plainlua/lauxlib.c:393–396 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
391
392
393
LUALIB_API void luaL_checktype (lua_State *L, int arg, int t) {
394
if (l_unlikely(lua_type(L, arg) != t))
395
tag_error(L, arg, t);
396
}
397
398
399
LUALIB_API void luaL_checkany (lua_State *L, int arg) {
Callers
15
luaB_tonumber
Function · 0.85
luaB_setmetatable
Function · 0.85
luaB_rawget
Function · 0.85
luaB_rawset
Function · 0.85
luaB_next
Function · 0.85
luaB_load
Function · 0.85
luaB_xpcall
Function · 0.85
str_dump
Function · 0.85
luaB_cocreate
Function · 0.85
checktab
Function · 0.85
sort
Function · 0.85
os_time
Function · 0.85
Calls
2
lua_type
Function · 0.85
tag_error
Function · 0.85
Tested by
no test coverage detected