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

Function luaO_hexavalue

third-party/lua-5.5.0/src/lobject.c:197–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195
196
197lu_byte luaO_hexavalue (int c) {
198 lua_assert(lisxdigit(c));
199 if (lisdigit(c)) return cast_byte(c - '0');
200 else return cast_byte((ltolower(c) - 'a') + 10);
201}
202
203
204static 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