MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / lua_pushfstring

Function lua_pushfstring

extlibs/lua/src/lapi.c:537–547  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

535
536
537LUA_API const char *lua_pushfstring (lua_State *L, const char *fmt, ...) {
538 const char *ret;
539 va_list argp;
540 lua_lock(L);
541 va_start(argp, fmt);
542 ret = luaO_pushvfstring(L, fmt, argp);
543 va_end(argp);
544 luaC_checkGC(L);
545 lua_unlock(L);
546 return ret;
547}
548
549
550LUA_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