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

Function str_len

third-party/lua-5.3.5/src/lstrlib.c:54–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52
53
54static int str_len (lua_State *L) {
55 size_t l;
56 luaL_checklstring(L, 1, &l);
57 lua_pushinteger(L, (lua_Integer)l);
58 return 1;
59}
60
61
62/* translate a relative string position: negative means back from end */

Callers

nothing calls this directly

Calls 2

luaL_checklstringFunction · 0.70
lua_pushintegerFunction · 0.70

Tested by

no test coverage detected