| 660 | |
| 661 | |
| 662 | const char *luaO_pushfstring (lua_State *L, const char *fmt, ...) { |
| 663 | const char *msg; |
| 664 | va_list argp; |
| 665 | va_start(argp, fmt); |
| 666 | msg = luaO_pushvfstring(L, fmt, argp); |
| 667 | va_end(argp); |
| 668 | if (msg == NULL) /* error? */ |
| 669 | luaD_throw(L, LUA_ERRMEM); |
| 670 | return msg; |
| 671 | } |
| 672 | |
| 673 | /* }================================================================== */ |
| 674 |
no test coverage detected