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
This commit is contained in:
Thomas Martitz 2011-08-30 16:48:36 +00:00
parent 456170afdf
commit 42f10e04df
6 changed files with 39 additions and 417 deletions

View file

@ -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)