diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2011-08-30 16:48:36 +0000 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2011-08-30 16:48:36 +0000 |
| commit | 42f10e04df42ab19aac74f82a6f113ee29e2012b (patch) | |
| tree | cf0561936fd8e22bc95b38a0575a078f7039acfa /apps/plugin.c | |
| parent | 456170afdf8eb9c43abe7580a3b522c934273a1e (diff) | |
| download | rockbox-42f10e04df42ab19aac74f82a6f113ee29e2012b.zip rockbox-42f10e04df42ab19aac74f82a6f113ee29e2012b.tar.gz rockbox-42f10e04df42ab19aac74f82a6f113ee29e2012b.tar.bz2 rockbox-42f10e04df42ab19aac74f82a6f113ee29e2012b.tar.xz | |
Remove buflib from the pluginlib and use the core one.
buflib_get_data() isn't inlined for plugins anymore, but can be if really needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30387 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
| -rw-r--r-- | apps/plugin.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 43d9e03..422749b 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -791,6 +791,19 @@ static const struct plugin_api rockbox_api = { the API gets incompatible */ tree_get_entries, tree_get_entry_at, + + /* the buflib memory management library */ + buflib_init, + buflib_available, + buflib_alloc, + buflib_alloc_ex, + buflib_alloc_maximum, + buflib_buffer_in, + buflib_buffer_out, + buflib_free, + buflib_shrink, + buflib_get_data, + buflib_get_name, }; int plugin_load(const char* plugin, const void* parameter) |