MCPcopy Create free account
hub / github.com/DFHack/dfhack / readhexaesc

Function readhexaesc

depends/lua/src/llex.c:322–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320
321
322static int readhexaesc (LexState *ls) {
323 int r = gethexa(ls);
324 r = (r << 4) + gethexa(ls);
325 luaZ_buffremove(ls->buff, 2); /* remove saved chars from buffer */
326 return r;
327}
328
329
330static unsigned long readutf8esc (LexState *ls) {

Callers 1

read_stringFunction · 0.85

Calls 1

gethexaFunction · 0.85

Tested by

no test coverage detected