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

Function str2K

3rd/lua-5.4.3/src/lcode.c:719–723  ·  view source on GitHub ↗

** Convert a VKSTR to a VK */

Source from the content-addressed store, hash-verified

717** Convert a VKSTR to a VK
718*/
719static void str2K (FuncState *fs, expdesc *e) {
720 lua_assert(e->k == VKSTR);
721 e->u.info = stringK(fs, e->u.strval);
722 e->k = VK;
723}
724
725
726/*

Callers 2

discharge2regFunction · 0.85
luaK_indexedFunction · 0.85

Calls 1

stringKFunction · 0.85

Tested by

no test coverage detected