diff options
Diffstat (limited to 'apps/codecs.h')
-rw-r--r-- | apps/codecs.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/codecs.h b/apps/codecs.h index dde376d73c..96804a889b 100644 --- a/apps/codecs.h +++ b/apps/codecs.h | |||
@@ -196,8 +196,10 @@ struct codec_api { | |||
196 | long* current_tick; | 196 | long* current_tick; |
197 | long (*default_event_handler)(long event); | 197 | long (*default_event_handler)(long event); |
198 | long (*default_event_handler_ex)(long event, void (*callback)(void *), void *parameter); | 198 | long (*default_event_handler_ex)(long event, void (*callback)(void *), void *parameter); |
199 | int (*create_thread)(void (*function)(void), void* stack, int stack_size, const char *name); | 199 | struct thread_entry* (*create_thread)(unsigned int core, void (*function)(void), |
200 | void (*remove_thread)(int threadnum); | 200 | void* stack, int stack_size, const char *name |
201 | IF_PRIO(, int priority)); | ||
202 | void (*remove_thread)(struct thread_entry *thread); | ||
201 | void (*reset_poweroff_timer)(void); | 203 | void (*reset_poweroff_timer)(void); |
202 | #ifndef SIMULATOR | 204 | #ifndef SIMULATOR |
203 | int (*system_memory_guard)(int newmode); | 205 | int (*system_memory_guard)(int newmode); |