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:
Aidan MacDonald 2025-12-12 13:27:00 +00:00
parent 2e1af37536
commit a30f822500
12 changed files with 11 additions and 42 deletions

View file

@ -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 */