| 256 | |
| 257 | |
| 258 | static int luaB_rawlen(lua_State *L) { |
| 259 | int t = lua_type(L, 1); |
| 260 | luaL_argcheck(L, t == LUA_TTABLE || t == LUA_TSTRING, 1, |
| 261 | "table or string expected"); |
| 262 | lua_pushinteger(L, lua_rawlen(L, 1)); |
| 263 | return 1; |
| 264 | } |
| 265 | |
| 266 | |
| 267 | static int luaB_rawget(lua_State *L) { |
nothing calls this directly
no test coverage detected