mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-12-22 07:30:54 +00:00
Update <ctype.h> header to include isblank(), as both a macro and function.
In order to work right, this needs either GNO's ORCALib (which already included isblank()) or a copy of ORCA's ORCALib with the corresponding patch applied.
This commit is contained in:
parent
28fa8b1853
commit
ef30698ac8
@ -27,6 +27,7 @@ extern char __ctype[],__ctype2[];
|
||||
#define __csym 0x01
|
||||
#define __csymf 0x02
|
||||
#define __octal 0x04
|
||||
#define __blank 0x08
|
||||
|
||||
|
||||
int isalnum(int);
|
||||
@ -50,6 +51,7 @@ int ispunct(int);
|
||||
int isspace(int);
|
||||
int isupper(int);
|
||||
int isxdigit(int);
|
||||
int isblank(int);
|
||||
#ifndef __KeepNamespacePure__
|
||||
int toascii(int);
|
||||
#endif
|
||||
@ -76,6 +78,7 @@ int isxdigit(int);
|
||||
#define isspace(c) ((__ctype)[(c)+1] & __space)
|
||||
#define isupper(c) ((__ctype)[(c)+1] & __upper)
|
||||
#define isxdigit(c) ((__ctype)[(c)+1] & __hex)
|
||||
#define isblank(c) ((__ctype2)[(c)+1] & __blank)
|
||||
#ifndef __KeepNamespacePure__
|
||||
#define toascii(c) ((c) & 0x7F)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user