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.tar.gz rockbox-42f10e04df42ab19aac74f82a6f113ee29e2012b.zip |
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 43d9e03acf..422749b533 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -791,6 +791,19 @@ static const struct plugin_api rockbox_api = { | |||
791 | the API gets incompatible */ | 791 | the API gets incompatible */ |
792 | tree_get_entries, | 792 | tree_get_entries, |
793 | tree_get_entry_at, | 793 | tree_get_entry_at, |
794 | |||
795 | /* the buflib memory management library */ | ||
796 | buflib_init, | ||
797 | buflib_available, | ||
798 | buflib_alloc, | ||
799 | buflib_alloc_ex, | ||
800 | buflib_alloc_maximum, | ||
801 | buflib_buffer_in, | ||
802 | buflib_buffer_out, | ||
803 | buflib_free, | ||
804 | buflib_shrink, | ||
805 | buflib_get_data, | ||
806 | buflib_get_name, | ||
794 | }; | 807 | }; |
795 | 808 | ||
796 | int plugin_load(const char* plugin, const void* parameter) | 809 | int plugin_load(const char* plugin, const void* parameter) |