| 144 | |
| 145 | |
| 146 | static int luaB_rawlen (lua_State *L) { |
| 147 | int t = lua_type(L, 1); |
| 148 | luaL_argcheck(L, t == LUA_TTABLE || t == LUA_TSTRING, 1, |
| 149 | "table or string expected"); |
| 150 | lua_pushinteger(L, lua_rawlen(L, 1)); |
| 151 | return 1; |
| 152 | } |
| 153 | |
| 154 | |
| 155 | static int luaB_rawget (lua_State *L) { |
nothing calls this directly
no test coverage detected