| 511 | |
| 512 | |
| 513 | LUA_API const char *lua_pushfstring (lua_State *L, const char *fmt, ...) { |
| 514 | const char *ret; |
| 515 | va_list argp; |
| 516 | lua_lock(L); |
| 517 | luaC_checkGC(L); |
| 518 | va_start(argp, fmt); |
| 519 | ret = luaO_pushvfstring(L, fmt, argp); |
| 520 | va_end(argp); |
| 521 | lua_unlock(L); |
| 522 | return ret; |
| 523 | } |
| 524 | |
| 525 | |
| 526 | LUA_API void lua_pushcclosure (lua_State *L, lua_CFunction fn, int n) { |
no test coverage detected