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

Function formatvarinfo

third-party/lua-5.4.6/src/ldebug.c:720–726  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

718
719
720static const char *formatvarinfo (lua_State *L, const char *kind,
721 const char *name) {
722 if (kind == NULL)
723 return ""; /* no information */
724 else
725 return luaO_pushfstring(L, " (%s '%s')", kind, name);
726}
727
728/*
729** Build a string with a "description" for the value 'o', such as

Callers 2

varinfoFunction · 0.70
luaG_callerrorFunction · 0.70

Calls 1

luaO_pushfstringFunction · 0.70

Tested by

no test coverage detected