From 42f10e04df42ab19aac74f82a6f113ee29e2012b Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Tue, 30 Aug 2011 16:48:36 +0000 Subject: 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 --- apps/plugin.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'apps/plugin.c') 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) -- cgit v1.1