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

Function luaO_hexavalue

third-party/lua-5.4.6/src/lobject.c:135–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133
134
135int luaO_hexavalue (int c) {
136 if (lisdigit(c)) return c - '0';
137 else return (ltolower(c) - 'a') + 10;
138}
139
140
141static int isneg (const char **s) {

Callers 4

gethexaFunction · 0.70
readutf8escFunction · 0.70
lua_strx2numberFunction · 0.70
l_str2intFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected