MCPcopy 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
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.85
readutf8escFunction · 0.85
lua_strx2numberFunction · 0.85
l_str2intFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected