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

Function readdigits

third-party/lua-5.3.5/src/liolib.c:427–432  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

425** Read a sequence of (hex)digits
426*/
427static int readdigits (RN *rn, int hex) {
428 int count = 0;
429 while ((hex ? isxdigit(rn->c) : isdigit(rn->c)) && nextc(rn))
430 count++;
431 return count;
432}
433
434
435/*

Callers 1

read_numberFunction · 0.70

Calls 1

nextcFunction · 0.70

Tested by

no test coverage detected