MCPcopy Create free account
hub / github.com/BigPig0/RelayLive / nilK

Function nilK

ThirdParty/lua/lua/lcode.c:373–379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

371
372
373static int nilK (FuncState *fs) {
374 TValue k, v;
375 setnilvalue(&v);
376 /* cannot use nil as key; instead use table itself to represent nil */
377 sethvalue(fs->ls->L, &k, fs->ls->h);
378 return addk(fs, &k, &v);
379}
380
381
382void luaK_setreturns (FuncState *fs, expdesc *e, int nresults) {

Callers 1

luaK_exp2RKFunction · 0.85

Calls 1

addkFunction · 0.85

Tested by

no test coverage detected