MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / lua_pushfstring

Function lua_pushfstring

src/Chain/libraries/glua/lapi.cpp:522–532  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

520
521
522LUA_API const char *lua_pushfstring(lua_State *L, const char *fmt, ...) {
523 const char *ret;
524 va_list argp;
525 lua_lock(L);
526 luaC_checkGC(L);
527 va_start(argp, fmt);
528 ret = luaO_pushvfstring(L, fmt, argp);
529 va_end(argp);
530 lua_unlock(L);
531 return ret;
532}
533
534
535LUA_API void lua_pushcclosure(lua_State *L, lua_CFunction fn, int n) {

Callers 15

pushutfcharFunction · 0.85
checkoptionFunction · 0.85
pusherrorFunction · 0.85
searchpathFunction · 0.85
loadfuncFunction · 0.85
searcher_CrootFunction · 0.85
searcher_preloadFunction · 0.85
f_tostringFunction · 0.85
l_fatalFunction · 0.85
pushfuncnameFunction · 0.85
luaL_tracebackFunction · 0.85
typeerrorFunction · 0.85

Calls 1

luaO_pushvfstringFunction · 0.85

Tested by

no test coverage detected