MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / nilK

Function nilK

deps/lua/src/lcode.c:271–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269
270
271static int nilK (FuncState *fs) {
272 TValue k, v;
273 setnilvalue(&v);
274 /* cannot use nil as key; instead use table itself to represent nil */
275 sethvalue(fs->L, &k, fs->h);
276 return addk(fs, &k, &v);
277}
278
279
280void 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