Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ObEngine/ObEngine
/ luaO_hexavalue
Function
luaO_hexavalue
extlibs/lua/src/lobject.c:135–138 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
133
134
135
int luaO_hexavalue (int c) {
136
if (lisdigit(c)) return c -
'0'
;
137
else return (ltolower(c) -
'a'
) + 10;
138
}
139
140
141
static int isneg (const char **s) {
Callers
4
gethexa
Function · 0.85
readutf8esc
Function · 0.85
lua_strx2number
Function · 0.85
l_str2int
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected