home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_07_02 / v7n2030a.txt < prev    next >
Text File  |  1988-11-06  |  391b  |  16 lines

  1. /*
  2.  *  chclass.h - CHaracter CLASSification definitions.
  3.  */
  4.  
  5. #define _CCID1_     (0x01)
  6. #define _CCID_      (0x02)
  7. #define _CCEXP_     (0x04)
  8. #define _CCSIGN_    (0x08)
  9.  
  10. extern  char    _cctable[];
  11.  
  12. #define isid1(c)    (_cctable[c] & _CCID1_)
  13. #define isid(c)     (_cctable[c] & _CCID_)
  14. #define isexp(c)    (_cctable[c] & _CCEXP_)
  15. #define issign(c)   (_cctable[c] & _CCSIGN_)
  16.