MCPcopy Create free account
hub / github.com/AshenvaleZX/ZXEngine / addk

Function addk

CPPScripts/External/Lua/lcode.c:543–569  ·  view source on GitHub ↗

** Add constant 'v' to prototype's list of constants (field 'k'). ** Use scanner's table to cache position of constants in constant list ** and try to reuse constants. Because some values should not be used ** as keys (nil cannot be a key, integer keys can collapse with float ** keys), the caller must provide a useful 'key' for indexing the cache. ** Note that all functions share the same table, s

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

stringKFunction · 0.85
luaK_intKFunction · 0.85
luaK_numberKFunction · 0.85
boolFFunction · 0.85
boolTFunction · 0.85
nilKFunction · 0.85

Calls 2

luaH_getFunction · 0.85
luaH_finishsetFunction · 0.85

Tested by

no test coverage detected