MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / test2

Function test2

lib/lua/src/liolib.c:457–461  ·  view source on GitHub ↗

** Accept current char if it is in 'set' (of size 2) */

Source from the content-addressed store, hash-verified

455** Accept current char if it is in 'set' (of size 2)
456*/
457static int test2 (RN *rn, const char *set) {
458 if (rn->c == set[0] || rn->c == set[1])
459 return nextc(rn);
460 else return 0;
461}
462
463
464/*

Callers 1

read_numberFunction · 0.85

Calls 1

nextcFunction · 0.85

Tested by

no test coverage detected