home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / stlpt453.zip / STLport-4.5.3 / stlport / cctype < prev    next >
Text File  |  2001-01-26  |  2KB  |  79 lines

  1. /*
  2.  * Copyright (c) 1999 
  3.  * Boris Fomitchev
  4.  *
  5.  * This material is provided "as is", with absolutely no warranty expressed
  6.  * or implied. Any use is at your own risk.
  7.  *
  8.  * Permission to use or copy this software for any purpose is hereby granted 
  9.  * without fee, provided the above notices are retained on all copies.
  10.  * Permission to modify the code and to distribute modified code is granted,
  11.  * provided the above notices are retained, and a notice that the code was
  12.  * modified is included with the above copyright notice.
  13.  *
  14.  */
  15.  
  16. #ifndef _STLP_CCTYPE
  17. # define _STLP_CCTYPE
  18.  
  19. # ifndef _STLP_OUTERMOST_HEADER_ID
  20. #  define _STLP_OUTERMOST_HEADER_ID 0x104
  21. #  include <stl/_prolog.h>
  22. # endif
  23.  
  24. # if defined (_STLP_USE_NEW_C_HEADERS)
  25.  
  26. #  include _STLP_NATIVE_CPP_C_HEADER(cctype)
  27.  
  28. # else
  29.  
  30. #  include <ctype.h>
  31.  
  32. // Undef convenience interfaces
  33. #undef isspace
  34. #undef isprint
  35. #undef iscntrl
  36. #undef isupper
  37. #undef islower
  38. #undef isalpha
  39. #undef isdigit
  40. #undef ispunct
  41. #undef isxdigit
  42. #undef isalnum
  43. #undef isgraph
  44. #undef toupper
  45. #undef tolower
  46.  
  47. # endif /* _STLP_USE_NEW_C_HEADERS */
  48.  
  49. # if ! defined (_STLP_NO_CSTD_FUNCTION_IMPORTS)
  50. #  if defined ( _STLP_IMPORT_VENDOR_CSTD )
  51. _STLP_BEGIN_NAMESPACE
  52. using _STLP_VENDOR_CSTD::isalnum;
  53. using _STLP_VENDOR_CSTD::isalpha;
  54. using _STLP_VENDOR_CSTD::iscntrl;
  55. using _STLP_VENDOR_CSTD::isdigit;
  56. using _STLP_VENDOR_CSTD::isgraph;
  57. using _STLP_VENDOR_CSTD::islower;
  58. using _STLP_VENDOR_CSTD::isprint;
  59. using _STLP_VENDOR_CSTD::ispunct;
  60. using _STLP_VENDOR_CSTD::isspace;
  61. using _STLP_VENDOR_CSTD::isupper;
  62. using _STLP_VENDOR_CSTD::isxdigit;
  63. using _STLP_VENDOR_CSTD::tolower;
  64. using _STLP_VENDOR_CSTD::toupper;
  65. _STLP_END_NAMESPACE
  66. #   endif /* _STLP_IMPORT_VENDOR_CSTD*/
  67. #  endif /* _STLP_NO_CSTD_FUNCTION_IMPORTS */
  68.  
  69. # if (_STLP_OUTERMOST_HEADER_ID == 0x104 )
  70. #  include <stl/_epilog.h>
  71. #  undef _STLP_OUTERMOST_HEADER_ID
  72. # endif
  73.  
  74. #endif /* _STLP_CCTYPE */
  75.  
  76. // Local Variables:
  77. // mode:C++
  78. // End:
  79.