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

Function lua_pushfstring

lib/lua/src/lapi.c:566–576  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

564
565
566LUA_API const char *lua_pushfstring (lua_State *L, const char *fmt, ...) {
567 const char *ret;
568 va_list argp;
569 lua_lock(L);
570 va_start(argp, fmt);
571 ret = luaO_pushvfstring(L, fmt, argp);
572 va_end(argp);
573 luaC_checkGC(L);
574 lua_unlock(L);
575 return ret;
576}
577
578
579LUA_API void lua_pushcclosure (lua_State *L, lua_CFunction fn, int n) {

Callers 15

msghandlerFunction · 0.85
pushlineFunction · 0.85
addreturnFunction · 0.85
l_printFunction · 0.85
pushfuncnameFunction · 0.85
luaL_tracebackFunction · 0.85
luaL_typeerrorFunction · 0.85
luaL_whereFunction · 0.85
luaL_fileresultFunction · 0.85
luaL_checkoptionFunction · 0.85
errfileFunction · 0.85
luaL_loadfilexFunction · 0.85

Calls 1

luaO_pushvfstringFunction · 0.85

Tested by

no test coverage detected