Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CppCXY/EmmyLuaCodeStyle
/ str_len
Function
str_len
3rd/lua-5.4.3/src/lstrlib.c:55–60 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
53
54
55
static int str_len (lua_State *L) {
56
size_t l;
57
luaL_checklstring(L, 1, &l);
58
lua_pushinteger(L, (lua_Integer)l);
59
return 1;
60
}
61
62
63
/*
Callers
nothing calls this directly
Calls
2
luaL_checklstring
Function · 0.85
lua_pushinteger
Function · 0.85
Tested by
no test coverage detected