MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / setmax

Function setmax

other_src/lua/src/lpeg.cpp:2301–2306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2299
2300
2301static int setmax (lua_State *L) {
2302 luaL_optinteger(L, 1, -1);
2303 lua_settop(L, 1);
2304 lua_setfield(L, LUA_REGISTRYINDEX, MAXSTACKIDX);
2305 return 0;
2306}
2307
2308
2309static int printpat_l (lua_State *L) {

Callers

nothing calls this directly

Calls 3

luaL_optintegerFunction · 0.85
lua_settopFunction · 0.70
lua_setfieldFunction · 0.70

Tested by

no test coverage detected