MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / mainpositionTV

Function mainpositionTV

3rd/lua-5.4.3/src/ltable.c:182–184  ·  view source on GitHub ↗

** Returns the main position of an element given as a 'TValue' */

Source from the content-addressed store, hash-verified

180** Returns the main position of an element given as a 'TValue'
181*/
182static Node *mainpositionTV (const Table *t, const TValue *key) {
183 return mainposition(t, rawtt(key), valraw(key));
184}
185
186
187/*

Callers 3

getgenericFunction · 0.85
luaH_newkeyFunction · 0.85
luaH_mainpositionFunction · 0.85

Calls 1

mainpositionFunction · 0.85

Tested by

no test coverage detected