upscheme/c/argcount.h

7 lines
200 B
C
Raw Normal View History

static void argcount(char *fname, uint32_t nargs, uint32_t c)
{
if (__unlikely(nargs != c))
lerrorf(ArgError, "%s: too %s arguments", fname,
nargs < c ? "few" : "many");
}