mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
make splash split on control characters
splits on spaces also considers \r\n\f\v\t as mandatory breaks I'm still working on the strptokspn function my goal is to use it directly rather than storing the matched char and modifying the source string with \0 in order to tokenize the output --Done Change-Id: I7f378b5b9c4df8f10899b9a55a98950afb3931dc
This commit is contained in:
parent
dd1fbd51fc
commit
c756a8a89d
8 changed files with 202 additions and 62 deletions
|
@ -109,6 +109,7 @@ struct screen
|
|||
void (*putsxy)(int x, int y, const unsigned char *str);
|
||||
void (*puts)(int x, int y, const unsigned char *str);
|
||||
void (*putsf)(int x, int y, const unsigned char *str, ...);
|
||||
void (*putsxyf)(int x, int y, const unsigned char *fmt, ...);
|
||||
bool (*puts_scroll)(int x, int y, const unsigned char *string);
|
||||
bool (*putsxy_scroll_func)(int x, int y, const unsigned char *string,
|
||||
void (*scroll_func)(struct scrollinfo *),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue