Rockbox mail archiveSubject: Re: Plugin API requests
Re: Plugin API requests
From: Garrett Derner <GaryD_at_AdFreeInternet.com>
Date: Thu, 3 Jul 2003 19:02:27 -0500
Björn Stenberg wrote:
>Garrett Derner wrote:
>> 1) Can the _ctype_ array be made available, so plugins can use isspace()
>> and similar macros?
>That's not necessary. You can simply #include <ctype.h> in your plugin and
>the macros will be taken from gcc.
When I do, the linker coughs:
undefined reference to `_ctype_'
The macros in ctype.h name an array called _ctype_, which is defined in
If I include both:
then everything is fine, since then I have a local copy of _ctype_.
Maybe that is the best way. I'll do that.
Come to think of it, what I was suggesting (making _ctype_ available
through the plugin API) would not work. Because then the array would not be
called _ctype_. It would be rb->_ctype_, or
Received on 2003-07-04