diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2012-01-27 09:31:34 +0100 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2012-01-27 09:31:34 +0100 |
| commit | c6d69ae8fccf4e1e11fbcb55f98348d5e8f05d64 (patch) | |
| tree | 3977561da2883ea1043bbea875a2a9887457ca77 /apps/plugin.h | |
| parent | 93a4b32d03e99d4b542872867ef08bf27e39c091 (diff) | |
| download | rockbox-c6d69ae8fccf4e1e11fbcb55f98348d5e8f05d64.zip rockbox-c6d69ae8fccf4e1e11fbcb55f98348d5e8f05d64.tar.gz rockbox-c6d69ae8fccf4e1e11fbcb55f98348d5e8f05d64.tar.bz2 rockbox-c6d69ae8fccf4e1e11fbcb55f98348d5e8f05d64.tar.xz | |
Bump plugin api and abi version needed for b8439f2. Sort too.
Change-Id: Idcff29c9b89e7dbe7e9c7d2413737e0d598b7831
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 8ce6faf..2fb085d 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -153,12 +153,12 @@ void* plugin_get_buffer(size_t *buffer_size); #define PLUGIN_MAGIC 0x526F634B /* RocK */ /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 215 +#define PLUGIN_API_VERSION 216 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any new function which are "waiting" at the end of the function table) */ -#define PLUGIN_MIN_API_VERSION 214 +#define PLUGIN_MIN_API_VERSION 216 /* plugin return codes */ /* internal returns start at 0x100 to make exit(1..255) work */ @@ -521,6 +521,7 @@ struct plugin_api { void (*commit_dcache)(void); void (*commit_discard_dcache)(void); + void (*commit_discard_idcache)(void); /* load code api for overlay */ void* (*lc_open)(const char *filename, unsigned char *buf, size_t buf_size); @@ -952,8 +953,6 @@ struct plugin_api { /* new stuff at the end, sort into place next time the API gets incompatible */ - - void (*commit_discard_idcache)(void); }; /* plugin header */ |