| 131 | |
| 132 | |
| 133 | static int luaB_rawlen (lua_State *L) { |
| 134 | int t = lua_type(L, 1); |
| 135 | luaL_argcheck(L, t == LUA_TTABLE || t == LUA_TSTRING, 1, |
| 136 | "table or string expected"); |
| 137 | lua_pushinteger(L, lua_rawlen(L, 1)); |
| 138 | return 1; |
| 139 | } |
| 140 | |
| 141 | |
| 142 | static int luaB_rawget (lua_State *L) { |
nothing calls this directly
no test coverage detected