MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / nilK

Function nilK

lua/lcode.c:278–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276
277
278static int nilK (FuncState *fs) {
279 TValue k, v;
280 setnilvalue(&v);
281 /* cannot use nil as key; instead use table itself to represent nil */
282 sethvalue(fs->L, &k, fs->h);
283 return addk(fs, &k, &v);
284}
285
286
287void 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