sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

isxdigitrune.c (189B)


      1 /* Automatically generated by mkrunetype.awk */
      2 #include "../utf.h"
      3 #include "runetype.h"
      4 
      5 int
      6 isxdigitrune(Rune r)
      7 {
      8 	return (r >= '0' && (r - '0') < 10) || (r >= 'a' && (r - 'a') < 6);
      9 }