summaryrefslogtreecommitdiff
path: root/firmware/include
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-07-13 14:01:41 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-07-13 14:01:41 +0000
commit0c458c043a2e95cfed15d143ff0053b44b6a425c (patch)
tree3f4cdfa76f06d593322c64b34cbdc9d889e02f6c /firmware/include
parentae9b319ec555fd9b33c5c37b68b5578442e9de9f (diff)
downloadrockbox-0c458c043a2e95cfed15d143ff0053b44b6a425c.zip
rockbox-0c458c043a2e95cfed15d143ff0053b44b6a425c.tar.gz
rockbox-0c458c043a2e95cfed15d143ff0053b44b6a425c.tar.bz2
rockbox-0c458c043a2e95cfed15d143ff0053b44b6a425c.tar.xz
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
Diffstat (limited to 'firmware/include')
-rw-r--r--firmware/include/ctype.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/include/ctype.h b/firmware/include/ctype.h
index b6d8a43..c72a256 100644
--- a/firmware/include/ctype.h
+++ b/firmware/include/ctype.h
@@ -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))