mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
splash: splashf() should be voiced if given an IDPTR
Most calls to splashf() use str(IDNUM), those can be safely moved to ID2P(IDNUM) now. Those will follow. This change effectively makes splash() a simple wrapper around splashf() so just make it into a #define instead.. Change-Id: I820e74e34cb4be3f523b25ce3f5dcc341bdba3e4
This commit is contained in:
parent
4ab056ab15
commit
622ff574e7
4 changed files with 10 additions and 16 deletions
|
@ -58,6 +58,8 @@
|
|||
#undef vsprintf
|
||||
#endif
|
||||
|
||||
#define splash(__ticks, __str) splashf(__ticks, __str)
|
||||
|
||||
char* strncpy(char *, const char *, size_t);
|
||||
void* plugin_get_buffer(size_t *buffer_size);
|
||||
size_t plugin_reserve_buffer(size_t buffer_size);
|
||||
|
@ -211,7 +213,6 @@ struct plugin_api {
|
|||
const struct cbmp_bitmap_info_entry *core_bitmaps;
|
||||
|
||||
/* lcd */
|
||||
void (*splash)(int ticks, const char *str);
|
||||
void (*splashf)(int ticks, const char *fmt, ...) ATTRIBUTE_PRINTF(2, 3);
|
||||
void (*splash_progress)(int current, int total, const char *fmt, ...) ATTRIBUTE_PRINTF(3, 4);
|
||||
void (*splash_progress_set_delay)(long delay_ticks);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue