| 14878 | |
| 14879 | |
| 14880 | int luaV_tostring (lua_State *L, StkId obj) { |
| 14881 | if (!ttisnumber(obj)) |
| 14882 | return 0; |
| 14883 | else { |
| 14884 | char s[LUAI_MAXNUMBER2STR]; |
| 14885 | lua_Number n = nvalue(obj); |
| 14886 | lua_number2str(s, n); |
| 14887 | setsvalue2s(L, obj, luaS_new(L, s)); |
| 14888 | return 1; |
| 14889 | } |
| 14890 | } |
| 14891 | |
| 14892 | |
| 14893 | static void traceexec (lua_State *L, const Instruction *pc) { |
no outgoing calls
no test coverage detected