/*************************************************************************** * FILE: ctype.h/cctype (Character Handling) * * Open Watcom Project * * Copyright (c) 2002-2008 Open Watcom Contributors. All Rights Reserved. * Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved. * * This file is automatically generated. Do not edit directly. * * ========================================================================= * * Description: This header is part of the C/C++ standard library. It * declares several character classification functions. ***************************************************************************/ #ifndef _CCTYPE_INCLUDED #define _CCTYPE_INCLUDED #ifndef __cplusplus #error the header cctype requires C++ #endif #if !defined(_ENABLE_AUTODEPEND) #pragma read_only_file; #endif extern "C" { #ifndef _COMDEF_H_INCLUDED #include <_comdef.h> #endif #define _LOWER 0x80 #define _UPPER 0x40 #define _DIGIT 0x20 #define _XDIGT 0x10 #define _PRINT 0x08 #define _PUNCT 0x04 #define _SPACE 0x02 #define _CNTRL 0x01 namespace std { _WCRTLINK extern int isalnum(int); _WCRTLINK extern int isalpha(int); _WCRTLINK extern int iscntrl(int); _WCRTLINK extern int isdigit(int); _WCRTLINK extern int isgraph(int); _WCRTLINK extern int islower(int); _WCRTLINK extern int isprint(int); _WCRTLINK extern int ispunct(int); _WCRTLINK extern int isspace(int); _WCRTLINK extern int isupper(int); _WCRTLINK extern int isxdigit(int); _WCRTLINK extern int tolower(int); _WCRTLINK extern int toupper(int); #if !defined(NO_EXT_KEYS) /* extensions enabled */ /* These names are in ctype.h according to C99. */ _WCRTLINK extern int isblank(int); #endif } /* These names are not in ctype.h according to C99. */ _WCRTLINK extern int _tolower(int); _WCRTLINK extern int _toupper(int); _WCRTLINK extern int __iscsymf(int); _WCRTLINK extern int __iscsym(int); #if !defined(NO_EXT_KEYS) /* extensions enabled */ _WCRTLINK extern int isleadbyte(int); _WCRTLINK extern int isascii(int); _WCRTLINK extern int __isascii(int); #if !defined(__FUNCTION_DATA_ACCESS) #define isascii(__c) ((unsigned)(__c) <= 0x7f) #define __isascii(__c) ((unsigned)(__c) <= 0x7f) #endif #endif #if (defined(__SW_BR) || defined(_RTDLL)) #define _IsTable _IsTable_br #endif _WCRTDATA extern const unsigned char _WCDATA _IsTable[257]; #if !defined(__FUNCTION_DATA_ACCESS) #define __iscsymf(__c) (isalpha(__c)||((__c)=='_')) #define __iscsym(__c) (isalnum(__c)||((__c)=='_')) #endif #define iscsym __iscsym #define iscsymf __iscsymf } /* End of extern "C" */ #endif