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

Function lua_pushfstring

source/extern/lua/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

pushfuncnameFunction · 0.85
luaL_tracebackFunction · 0.85
typeerrorFunction · 0.85
luaL_whereFunction · 0.85
luaL_fileresultFunction · 0.85
luaL_checkoptionFunction · 0.85
errfileFunction · 0.85
luaL_loadfilexFunction · 0.85
luaL_tolstringFunction · 0.85
pushutfcharFunction · 0.85
pusherrorFunction · 0.85
setpathFunction · 0.85

Calls 1

luaO_pushvfstringFunction · 0.85

Tested by

no test coverage detected