MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / luaH_psetstr

Function luaH_psetstr

third-party/lua-5.5.0/src/ltable.c:1124–1129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1122
1123
1124int luaH_psetstr (Table *t, TString *key, TValue *val) {
1125 if (strisshr(key))
1126 return luaH_psetshortstr(t, key, val);
1127 else
1128 return finishnodeset(t, Hgetlongstr(t, key), val);
1129}
1130
1131
1132int luaH_pset (Table *t, const TValue *key, TValue *val) {

Callers

nothing calls this directly

Calls 3

luaH_psetshortstrFunction · 0.85
finishnodesetFunction · 0.85
HgetlongstrFunction · 0.85

Tested by

no test coverage detected