MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / readdigits

Function readdigits

extlibs/lua/src/liolib.c:450–455  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

448** Read a sequence of (hex)digits
449*/
450static int readdigits (RN *rn, int hex) {
451 int count = 0;
452 while ((hex ? isxdigit(rn->c) : isdigit(rn->c)) && nextc(rn))
453 count++;
454 return count;
455}
456
457
458/*

Callers 1

read_numberFunction · 0.85

Calls 1

nextcFunction · 0.85

Tested by

no test coverage detected