MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / nilK

Function nilK

third-party/lua-5.5.0/src/lcode.c:665–671  ·  view source on GitHub ↗

** Add nil to list of constants and return its index. */

Source from the content-addressed store, hash-verified

663** Add nil to list of constants and return its index.
664*/
665static int nilK (FuncState *fs) {
666 TValue k, v;
667 setnilvalue(&v);
668 /* cannot use nil as key; instead use table itself */
669 sethvalue(fs->ls->L, &k, fs->kcache);
670 return k2proto(fs, &k, &v);
671}
672
673
674/*

Callers 1

luaK_exp2KFunction · 0.70

Calls 1

k2protoFunction · 0.85

Tested by

no test coverage detected