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

Function str_len

third-party/lua-5.1.5/src/lstrlib.c:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27
28static int str_len (lua_State *L) {
29 size_t l;
30 luaL_checklstring(L, 1, &l);
31 lua_pushinteger(L, l);
32 return 1;
33}
34
35
36static ptrdiff_t posrelat (ptrdiff_t pos, size_t len) {

Callers

nothing calls this directly

Calls 2

luaL_checklstringFunction · 0.70
lua_pushintegerFunction · 0.70

Tested by

no test coverage detected