MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / nilK

Function nilK

Source/Misc/lua/src/lua.c:3940–3946  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3938
3939
3940static int nilK (FuncState *fs) {
3941TValue k, v;
3942setnilvalue(&v);
3943/* cannot use nil as key; instead use table itself to represent nil */
3944sethvalue(fs->L, &k, fs->h);
3945return addk(fs, &k, &v);
3946}
3947
3948
3949void 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