Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ luaL_checktype
Function
luaL_checktype
depends/lua/src/lauxlib.c:378–381 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
376
377
378
LUALIB_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
384
LUALIB_API void luaL_checkany (lua_State *L, int arg) {
Callers
15
GetVector
Method · 0.85
dfhack_exception_tostring
Function · 0.85
dfhack_cowrap
Function · 0.85
dfhack_call_with_finalizer
Function · 0.85
lua_dfhack_with_suspend
Function · 0.85
dfhack_open_plugin
Function · 0.85
dfhack_event_len
Function · 0.85
dfhack_event_tostring
Function · 0.85
dfhack_event_index
Function · 0.85
dfhack_event_next
Function · 0.85
dfhack_event_pairs
Function · 0.85
dfhack_event_newindex
Function · 0.85
Calls
2
lua_type
Function · 0.85
tag_error
Function · 0.85
Tested by
no test coverage detected