MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / getstate

Function getstate

Dependencies/lua/src/ltests.c:1165–1169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1163
1164
1165static lua_State *getstate (lua_State *L) {
1166 lua_State *L1 = cast(lua_State *, lua_touserdata(L, 1));
1167 luaL_argcheck(L, L1 != NULL, 1, "state expected");
1168 return L1;
1169}
1170
1171
1172static int loadlib (lua_State *L) {

Callers 4

loadlibFunction · 0.85
closestateFunction · 0.85
doremoteFunction · 0.85
testCFunction · 0.85

Calls 1

lua_touserdataFunction · 0.85

Tested by

no test coverage detected