MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / nilK

Function nilK

src/vm/luavm/lua/lcode.c:374–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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