2001-04-10 23:21:43 +00:00
|
|
|
/*
|
|
|
|
* Character type definitions
|
|
|
|
*
|
|
|
|
* Derived from the mingw header written by Colin Peters.
|
|
|
|
* Modified for Wine use by Jon Griffiths and Francois Gouget.
|
|
|
|
* This file is in the public domain.
|
|
|
|
*/
|
|
|
|
#ifndef __WINE_CTYPE_H
|
|
|
|
#define __WINE_CTYPE_H
|
2008-12-11 21:37:34 +00:00
|
|
|
|
2020-02-21 16:18:22 +00:00
|
|
|
#include <corecrt_wctype.h>
|
2001-04-10 23:21:43 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2004-06-25 01:19:15 +00:00
|
|
|
#ifndef WEOF
|
|
|
|
#define WEOF (wint_t)(0xFFFF)
|
|
|
|
#endif
|
2002-12-18 20:17:20 +00:00
|
|
|
|
2020-11-24 17:50:06 +00:00
|
|
|
_ACRTIMP int __cdecl __isascii(int);
|
|
|
|
_ACRTIMP int __cdecl __iscsym(int);
|
|
|
|
_ACRTIMP int __cdecl __iscsymf(int);
|
|
|
|
_ACRTIMP int __cdecl __toascii(int);
|
|
|
|
_ACRTIMP int __cdecl _isblank_l(int,_locale_t);
|
|
|
|
_ACRTIMP int __cdecl _isctype(int,int);
|
2021-10-18 15:58:11 +00:00
|
|
|
_ACRTIMP int __cdecl _isctype_l(int,int,_locale_t);
|
2020-11-24 17:50:06 +00:00
|
|
|
_ACRTIMP int __cdecl _tolower(int);
|
|
|
|
_ACRTIMP int __cdecl _tolower_l(int,_locale_t);
|
|
|
|
_ACRTIMP int __cdecl _toupper(int);
|
|
|
|
_ACRTIMP int __cdecl _toupper_l(int,_locale_t);
|
|
|
|
_ACRTIMP int __cdecl isalnum(int);
|
|
|
|
_ACRTIMP int __cdecl isalpha(int);
|
|
|
|
_ACRTIMP int __cdecl isblank(int);
|
|
|
|
_ACRTIMP int __cdecl iscntrl(int);
|
|
|
|
_ACRTIMP int __cdecl isdigit(int);
|
|
|
|
_ACRTIMP int __cdecl isgraph(int);
|
|
|
|
_ACRTIMP int __cdecl islower(int);
|
|
|
|
_ACRTIMP int __cdecl isprint(int);
|
2020-12-01 12:52:34 +00:00
|
|
|
_ACRTIMP int __cdecl _isprint_l(int,_locale_t);
|
2020-11-24 17:50:06 +00:00
|
|
|
_ACRTIMP int __cdecl ispunct(int);
|
|
|
|
_ACRTIMP int __cdecl isspace(int);
|
2020-12-01 12:52:34 +00:00
|
|
|
_ACRTIMP int __cdecl _isspace_l(int,_locale_t);
|
2020-11-24 17:50:06 +00:00
|
|
|
_ACRTIMP int __cdecl isupper(int);
|
|
|
|
_ACRTIMP int __cdecl isxdigit(int);
|
|
|
|
_ACRTIMP int __cdecl tolower(int);
|
|
|
|
_ACRTIMP int __cdecl toupper(int);
|
2001-04-10 23:21:43 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2003-03-22 21:15:41 +00:00
|
|
|
static inline int isascii(int c) { return __isascii(c); }
|
|
|
|
static inline int iscsym(int c) { return __iscsym(c); }
|
|
|
|
static inline int iscsymf(int c) { return __iscsymf(c); }
|
|
|
|
static inline int toascii(int c) { return __toascii(c); }
|
2001-04-10 23:21:43 +00:00
|
|
|
|
|
|
|
#endif /* __WINE_CTYPE_H */
|