_cctype.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. #ifndef _STLP_INTERNAL_CCTYPE
  16. #define _STLP_INTERNAL_CCTYPE
  17. #if defined (_STLP_USE_NEW_C_HEADERS)
  18. # if defined (_STLP_HAS_INCLUDE_NEXT)
  19. # include_next <cctype>
  20. # else
  21. # include _STLP_NATIVE_CPP_C_HEADER(cctype)
  22. # endif
  23. #else
  24. # include <ctype.h>
  25. #endif /* _STLP_USE_NEW_C_HEADERS */
  26. #if ! defined (_STLP_NO_CSTD_FUNCTION_IMPORTS)
  27. # if defined ( _STLP_IMPORT_VENDOR_CSTD )
  28. _STLP_BEGIN_NAMESPACE
  29. using _STLP_VENDOR_CSTD::isalnum;
  30. using _STLP_VENDOR_CSTD::isalpha;
  31. using _STLP_VENDOR_CSTD::iscntrl;
  32. using _STLP_VENDOR_CSTD::isdigit;
  33. using _STLP_VENDOR_CSTD::isgraph;
  34. using _STLP_VENDOR_CSTD::islower;
  35. using _STLP_VENDOR_CSTD::isprint;
  36. using _STLP_VENDOR_CSTD::ispunct;
  37. using _STLP_VENDOR_CSTD::isspace;
  38. using _STLP_VENDOR_CSTD::isupper;
  39. using _STLP_VENDOR_CSTD::isxdigit;
  40. using _STLP_VENDOR_CSTD::tolower;
  41. using _STLP_VENDOR_CSTD::toupper;
  42. _STLP_END_NAMESPACE
  43. # endif /* _STLP_IMPORT_VENDOR_CSTD*/
  44. #endif /* _STLP_NO_CSTD_FUNCTION_IMPORTS */
  45. #endif