| 656 | } |
| 657 | |
| 658 | LUA_API void lua_pushstring(lua_State *L, const char *str) |
| 659 | { |
| 660 | if (str == NULL) { |
| 661 | setnilV(L->top); |
| 662 | } else { |
| 663 | GCstr *s; |
| 664 | lj_gc_check(L); |
| 665 | s = lj_str_newz(L, str); |
| 666 | setstrV(L, L->top, s); |
| 667 | } |
| 668 | incr_top(L); |
| 669 | } |
| 670 | |
| 671 | LUA_API const char *lua_pushvfstring(lua_State *L, const char *fmt, |
| 672 | va_list argp) |
no outgoing calls
no test coverage detected