1
0
Fork 0
forked from len0rd/rockbox

The plugin API now supports ctype macros like tolower() and friends

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4872 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2004-07-13 14:01:41 +00:00
parent ae9b319ec5
commit 0c458c043a
4 changed files with 17 additions and 17 deletions

View file

@ -36,7 +36,11 @@ int _EXFUN(_toupper, (int __c));
#define _X 0100
#define _B 0200
#ifdef PLUGIN
#define _ctype_ (rb->_ctype_)
#else
extern char _ctype_[];
#endif
#ifndef __cplusplus
#define isalpha(c) ((_ctype_+1)[(unsigned)(c)]&(_U|_L))