| 113 | |
| 114 | |
| 115 | static int luaB_rawlen (lua_State *L) { |
| 116 | int t = lua_type(L, 1); |
| 117 | luaL_argcheck(L, t == LUA_TTABLE || t == LUA_TSTRING, 1, |
| 118 | "table or string expected"); |
| 119 | lua_pushinteger(L, lua_rawlen(L, 1)); |
| 120 | return 1; |
| 121 | } |
| 122 | |
| 123 | |
| 124 | static int luaB_rawget (lua_State *L) { |
nothing calls this directly
no test coverage detected