mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-11 16:37:45 -04:00
plugins: add strstr() to plugin API
Multiple plugins carry their own strstr() implementation because the in-core version wasn't exported to the plugin API. Change-Id: Ib57a9b63754c89fb3447ec1d3958963d23145105
This commit is contained in:
parent
2e1af37536
commit
a30f822500
12 changed files with 11 additions and 42 deletions
|
|
@ -1019,6 +1019,7 @@ struct plugin_api {
|
|||
const struct touchevent *ev);
|
||||
bool (*gesture_vel_get)(struct gesture_vel *gv, int *xvel, int *yvel);
|
||||
#endif
|
||||
char* (*strstr)(const char *s1, const char *s2);
|
||||
};
|
||||
|
||||
/* plugin header */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue