Changeset View
Changeset View
Standalone View
Standalone View
include/_ctype.h
Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Lines | |||||
/* | /* | ||||
* _EXTERNALIZE_CTYPE_INLINES_ is defined in locale/nomacros.c to tell us | * _EXTERNALIZE_CTYPE_INLINES_ is defined in locale/nomacros.c to tell us | ||||
* to generate code for extern versions of all our inline functions. | * to generate code for extern versions of all our inline functions. | ||||
*/ | */ | ||||
#ifdef _EXTERNALIZE_CTYPE_INLINES_ | #ifdef _EXTERNALIZE_CTYPE_INLINES_ | ||||
#define _USE_CTYPE_INLINE_ | #define _USE_CTYPE_INLINE_ | ||||
#define static | #define static | ||||
#define __inline | #define __inline | ||||
#endif | |||||
int __maskrune(__ct_rune_t _c, unsigned long _f); | |||||
int __sbmaskrune(__ct_rune_t _c, unsigned long _f); | |||||
int __istype(__ct_rune_t _c, unsigned long _f); | |||||
int __sbistype(__ct_rune_t _c, unsigned long _f); | |||||
int __isctype(__ct_rune_t _c, unsigned long _f); | |||||
__ct_rune_t __toupper(__ct_rune_t _c); | |||||
__ct_rune_t __sbtoupper(__ct_rune_t _c); | |||||
__ct_rune_t __tolower(__ct_rune_t _c); | |||||
__ct_rune_t __sbtolower(__ct_rune_t _c); | |||||
int __wcwidth(__ct_rune_t _c); | |||||
#endif /* _EXTERNALIZE_CTYPE_INLINES_ */ | |||||
extern int __mb_sb_limit; | extern int __mb_sb_limit; | ||||
/* | /* | ||||
* Use inline functions if we are allowed to and the compiler supports them. | * Use inline functions if we are allowed to and the compiler supports them. | ||||
*/ | */ | ||||
#if !defined(_DONT_USE_CTYPE_INLINE_) && \ | #if !defined(_DONT_USE_CTYPE_INLINE_) && \ | ||||
(defined(_USE_CTYPE_INLINE_) || defined(__GNUC__) || defined(__cplusplus)) | (defined(_USE_CTYPE_INLINE_) || defined(__GNUC__) || defined(__cplusplus)) | ||||
▲ Show 20 Lines • Show All 94 Lines • Show Last 20 Lines |