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:
parent
a3bf2ec61c
commit
e12f797311
4 changed files with 8 additions and 0 deletions
|
@ -122,7 +122,9 @@ struct codec_api ci = {
|
|||
/* kernel/ system */
|
||||
PREFIX(sleep),
|
||||
yield,
|
||||
#if CONFIG_CPU != PP5020
|
||||
¤t_tick,
|
||||
#endif
|
||||
default_event_handler,
|
||||
default_event_handler_ex,
|
||||
create_thread,
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -207,7 +207,9 @@ static const struct plugin_api rockbox_api = {
|
|||
/* kernel/ system */
|
||||
PREFIX(sleep),
|
||||
yield,
|
||||
#if CONFIG_CPU != PP5020
|
||||
¤t_tick,
|
||||
#endif
|
||||
default_event_handler,
|
||||
default_event_handler_ex,
|
||||
create_thread,
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue