| 255 | |
| 256 | |
| 257 | LUA_API int lua_type (lua_State *L, int idx) { |
| 258 | const TValue *o = index2value(L, idx); |
| 259 | return (isvalid(L, o) ? ttype(o) : LUA_TNONE); |
| 260 | } |
| 261 | |
| 262 | |
| 263 | LUA_API const char *lua_typename (lua_State *L, int t) { |
no test coverage detected