| 520 | |
| 521 | |
| 522 | LUA_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 | |
| 535 | LUA_API void lua_pushcclosure(lua_State *L, lua_CFunction fn, int n) { |
no test coverage detected