MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / formatvarinfo

Function formatvarinfo

lib/lua/src/ldebug.c:711–717  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

709
710
711static const char *formatvarinfo (lua_State *L, const char *kind,
712 const char *name) {
713 if (kind == NULL)
714 return ""; /* no information */
715 else
716 return luaO_pushfstring(L, " (%s '%s')", kind, name);
717}
718
719/*
720** Build a string with a "description" for the value 'o', such as

Callers 2

varinfoFunction · 0.85
luaG_callerrorFunction · 0.85

Calls 1

luaO_pushfstringFunction · 0.85

Tested by

no test coverage detected