MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / luaB_rawlen

Function luaB_rawlen

extlibs/lua/src/lbaselib.c:157–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155
156
157static int luaB_rawlen (lua_State *L) {
158 int t = lua_type(L, 1);
159 luaL_argexpected(L, t == LUA_TTABLE || t == LUA_TSTRING, 1,
160 "table or string");
161 lua_pushinteger(L, lua_rawlen(L, 1));
162 return 1;
163}
164
165
166static int luaB_rawget (lua_State *L) {

Callers

nothing calls this directly

Calls 2

lua_typeFunction · 0.85
lua_pushintegerFunction · 0.85

Tested by

no test coverage detected