Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TASEmulators/fceux
/ lua_tocfunction
Function
lua_tocfunction
src/lua/src/lapi.c:379–382 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
377
378
379
LUA_API lua_CFunction lua_tocfunction (lua_State *L, int idx) {
380
StkId o = index2adr(L, idx);
381
return (!iscfunction(o)) ? NULL : clvalue(o)->c.f;
382
}
383
384
385
LUA_API void *lua_touserdata (lua_State *L, int idx) {
Callers
2
toCString
Function · 0.85
aux_close
Function · 0.85
Calls
1
index2adr
Function · 0.85
Tested by
no test coverage detected