| 590 | } |
| 591 | |
| 592 | LUA_API void lua_pushstring(lua_State *L, const char *str) |
| 593 | { |
| 594 | if (str == NULL) { |
| 595 | setnilV(L->top); |
| 596 | } else { |
| 597 | GCstr *s; |
| 598 | lj_gc_check(L); |
| 599 | s = lj_str_newz(L, str); |
| 600 | setstrV(L, L->top, s); |
| 601 | } |
| 602 | incr_top(L); |
| 603 | } |
| 604 | |
| 605 | LUA_API const char *lua_pushvfstring(lua_State *L, const char *fmt, |
| 606 | va_list argp) |
no outgoing calls
no test coverage detected