MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / lua_pushfstring

Function lua_pushfstring

ogsr_engine/LuaJIT/src/lj_api.c:678–687  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

676}
677
678LUA_API const char *lua_pushfstring(lua_State *L, const char *fmt, ...)
679{
680 const char *ret;
681 va_list argp;
682 lj_gc_check(L);
683 va_start(argp, fmt);
684 ret = lj_strfmt_pushvf(L, fmt, argp);
685 va_end(argp);
686 return ret;
687}
688
689LUA_API void lua_pushcclosure(lua_State *L, lua_CFunction f, int n)
690{

Callers 14

lib_io.cFile · 0.70
lib_debug.cFile · 0.70
lstopFunction · 0.70
pushlineFunction · 0.70
dottyFunction · 0.70
luaL_fileresultFunction · 0.70
luaL_loadfilexFunction · 0.70
lib_package.cFile · 0.70
ll_registerFunction · 0.70
mksymnameFunction · 0.70
searchpathFunction · 0.70

Calls 1

lj_strfmt_pushvfFunction · 0.85

Tested by

no test coverage detected