iPod: current_tick is (currently) a macro - so we exclude it from the plugin and codec APIs

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7826 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2005-11-12 15:45:48 +00:00
parent a3bf2ec61c
commit e12f797311
4 changed files with 8 additions and 0 deletions

View file

@ -122,7 +122,9 @@ struct codec_api ci = {
/* kernel/ system */
PREFIX(sleep),
yield,
#if CONFIG_CPU != PP5020
&current_tick,
#endif
default_event_handler,
default_event_handler_ex,
create_thread,

View file

@ -197,7 +197,9 @@ struct codec_api {
/* kernel/ system */
void (*PREFIX(sleep))(int ticks);
void (*yield)(void);
#if CONFIG_CPU != PP5020
long* current_tick;
#endif
long (*default_event_handler)(long event);
long (*default_event_handler_ex)(long event, void (*callback)(void *), void *parameter);
int (*create_thread)(void (*function)(void), void* stack, int stack_size, const char *name);

View file

@ -207,7 +207,9 @@ static const struct plugin_api rockbox_api = {
/* kernel/ system */
PREFIX(sleep),
yield,
#if CONFIG_CPU != PP5020
&current_tick,
#endif
default_event_handler,
default_event_handler_ex,
create_thread,

View file

@ -283,7 +283,9 @@ struct plugin_api {
/* kernel/ system */
void (*PREFIX(sleep))(int ticks);
void (*yield)(void);
#if CONFIG_CPU!=PP5020
long* current_tick;
#endif
long (*default_event_handler)(long event);
long (*default_event_handler_ex)(long event, void (*callback)(void *), void *parameter);
int (*create_thread)(void (*function)(void), void* stack, int stack_size, const char *name);