MCPcopy Create free account
hub / github.com/DFHack/dfhack / lua_pushfstring

Function lua_pushfstring

depends/lua/src/lapi.c:519–529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 15

error_tostringFunction · 0.85
dfhack_exit_errorFunction · 0.85
dfhack_event_tostringFunction · 0.85
PushFunctionWrapperMethod · 0.85
AddContainerMethodFunFunction · 0.85
internal_runCommandFunction · 0.85
push_functionMethod · 0.85
msghandlerFunction · 0.85
pushlineFunction · 0.85
addreturnFunction · 0.85
l_printFunction · 0.85
pushfuncnameFunction · 0.85

Calls 1

luaO_pushvfstringFunction · 0.85

Tested by

no test coverage detected