MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / luaB_rawlen

Function luaB_rawlen

third-party/lua-5.2.4/src/lbaselib.c:133–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131
132
133static 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
142static int luaB_rawget (lua_State *L) {

Callers

nothing calls this directly

Calls 3

lua_typeFunction · 0.70
lua_pushintegerFunction · 0.70
lua_rawlenFunction · 0.70

Tested by

no test coverage detected