MCPcopy Create free account
hub / github.com/Cubitect/cubiomes-viewer / lua_pushfstring

Function lua_pushfstring

lua/src/lapi.c:570–580  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

568
569
570LUA_API const char *lua_pushfstring (lua_State *L, const char *fmt, ...) {
571 const char *ret;
572 va_list argp;
573 lua_lock(L);
574 va_start(argp, fmt);
575 ret = luaO_pushvfstring(L, fmt, argp);
576 va_end(argp);
577 luaC_checkGC(L);
578 lua_unlock(L);
579 return ret;
580}
581
582
583LUA_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