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

Function readdigits

third-party/lua-5.5.0/src/liolib.c:466–471  ·  view source on GitHub ↗

** Read a sequence of (hex)digits */

Source from the content-addressed store, hash-verified

464** Read a sequence of (hex)digits
465*/
466static int readdigits (RN *rn, int hex) {
467 int count = 0;
468 while ((hex ? isxdigit(rn->c) : isdigit(rn->c)) && nextc(rn))
469 count++;
470 return count;
471}
472
473
474/*

Callers 1

read_numberFunction · 0.70

Calls 1

nextcFunction · 0.70

Tested by

no test coverage detected