MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / readdigits

Function readdigits

3rd/lua-5.4.3/src/liolib.c:464–469  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers 1

read_numberFunction · 0.85

Calls 1

nextcFunction · 0.85

Tested by

no test coverage detected