| 581 | } |
| 582 | |
| 583 | LUA_API const char *lua_pushfstring(lua_State *L, const char *fmt, ...) |
| 584 | { |
| 585 | const char *ret; |
| 586 | va_list argp; |
| 587 | lua_lock(L); |
| 588 | luaC_checkGC(L); |
| 589 | va_start(argp, fmt); |
| 590 | ret = luaO_pushvfstring(L, fmt, argp); |
| 591 | va_end(argp); |
| 592 | lua_unlock(L); |
| 593 | return ret; |
| 594 | } |
| 595 | |
| 596 | LUA_API void lua_pushcclosure(lua_State *L, lua_CFunction fn, int n) |
| 597 | { |
no test coverage detected