MCPcopy Create free account
hub / github.com/PlutoLang/Pluto / luaH_psetstr

Function luaH_psetstr

src/ltable.cpp:1154–1159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1152
1153
1154int luaH_psetstr (Table *t, TString *key, TValue *val) {
1155 if (strisshr(key))
1156 return luaH_psetshortstr(t, key, val);
1157 else
1158 return finishnodeset(t, Hgetlongstr(t, key), val);
1159}
1160
1161
1162int 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