2001-04-11 01:21:43 +02: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 22:37:34 +01:00
|
|
|
|
2020-02-21 17:18:22 +01:00
|
|
|
#include <corecrt_wctype.h>
|
2001-04-11 01:21:43 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2004-06-25 03:19:15 +02:00
|
|
|
#ifndef WEOF
|
|
|
|
#define WEOF (wint_t)(0xFFFF)
|
|
|
|
#endif
|
2002-12-18 21:17:20 +01:00
|
|
|
|
2020-11-24 18:50:06 +01: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 17:58:11 +02:00
|
|
|
_ACRTIMP int __cdecl _isctype_l(int,int,_locale_t);
|
2020-11-24 18:50:06 +01: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 13:52:34 +01:00
|
|
|
_ACRTIMP int __cdecl _isprint_l(int,_locale_t);
|
2020-11-24 18:50:06 +01:00
|
|
|
_ACRTIMP int __cdecl ispunct(int);
|
|
|
|
_ACRTIMP int __cdecl isspace(int);
|
2020-12-01 13:52:34 +01:00
|
|
|
_ACRTIMP int __cdecl _isspace_l(int,_locale_t);
|
2020-11-24 18:50:06 +01:00
|
|
|
_ACRTIMP int __cdecl isupper(int);
|
|
|
|
_ACRTIMP int __cdecl isxdigit(int);
|
|
|
|
_ACRTIMP int __cdecl tolower(int);
|
|
|
|
_ACRTIMP int __cdecl toupper(int);
|
2001-04-11 01:21:43 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2003-03-22 22:15:41 +01: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-11 01:21:43 +02:00
|
|
|
|
|
|
|
#endif /* __WINE_CTYPE_H */
|