| 420 | |
| 421 | |
| 422 | LUA_API size_t lua_stringtonumber (lua_State *L, const char *s) { |
| 423 | size_t sz = luaO_str2num(s, s2v(L->top.p)); |
| 424 | if (sz != 0) |
| 425 | api_incr_top(L); |
| 426 | return sz; |
| 427 | } |
| 428 | |
| 429 | |
| 430 | LUA_API lua_Number lua_tonumberx (lua_State *L, int idx, int *pisnum) { |
no test coverage detected