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

Function str2K

third-party/lua-5.5.0/src/lcode.c:774–779  ·  view source on GitHub ↗

** Convert a VKSTR to a VK */

Source from the content-addressed store, hash-verified

772** Convert a VKSTR to a VK
773*/
774static int str2K (FuncState *fs, expdesc *e) {
775 lua_assert(e->k == VKSTR);
776 e->u.info = stringK(fs, e->u.strval);
777 e->k = VK;
778 return e->u.info;
779}
780
781
782/*

Callers 2

discharge2regFunction · 0.70
luaK_indexedFunction · 0.70

Calls 1

stringKFunction · 0.70

Tested by

no test coverage detected