2 * This file is part of Cleanflight and Betaflight.
4 * Cleanflight and Betaflight are free software. You can redistribute
5 * this software and/or modify this software under the terms of the
6 * GNU General Public License as published by the Free Software
7 * Foundation, either version 3 of the License, or (at your option)
10 * Cleanflight and Betaflight are distributed in the hope that they
11 * will be useful, but WITHOUT ANY WARRANTY; without even the implied
12 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 * See the GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this software.
18 * If not, see <http://www.gnu.org/licenses/>.
22 * Replacement for system header file <ctype.h> to avoid macro definitions
23 * Functions are implemented in common/string_light.c
27 // use original implementation for C++
28 # include_next <ctype.h>
35 # define _EXFUN(name,proto) name proto
38 int _EXFUN(isalnum
, (int __c
));
39 int _EXFUN(isalpha
, (int __c
));
40 int _EXFUN(iscntrl
, (int __c
));
41 int _EXFUN(isdigit
, (int __c
));
42 int _EXFUN(isgraph
, (int __c
));
43 int _EXFUN(islower
, (int __c
));
44 int _EXFUN(isprint
, (int __c
));
45 int _EXFUN(ispunct
, (int __c
));
46 int _EXFUN(isspace
, (int __c
));
47 int _EXFUN(isupper
, (int __c
));
48 int _EXFUN(isxdigit
,(int __c
));
49 int _EXFUN(tolower
, (int __c
));
50 int _EXFUN(toupper
, (int __c
));
51 int _EXFUN(isblank
, (int __c
));
53 #endif /* _CTYPE_H_ */