plugins: Refactor legacy plugin support
commit75827c69c0ba5c1b01cd0992fc6ef6354a9b0c38
authorThomas Martitz <kugel@rockbox.org>
Sun, 23 Aug 2015 13:23:27 +0000 (23 15:23 +0200)
committerThomas Martitz <kugel@rockbox.org>
Sun, 23 Aug 2015 18:01:38 +0000 (23 20:01 +0200)
treee6988005956bcca9795a7bfff4d0908a18261563
parentf2579141bb4188d4fc97eee494ba36e809661ddf
plugins: Refactor legacy plugin support

With geany_plugin_set_data() the legacy plugin support can be made
more transparent by using wrapper functions that call the actual plugin_*
functions. This allows to remove the differentiation in code that's not
directly concerned with actually loading plugins.

This commit doesn't change anything except for one thing: legacy plugins now
cannot call geany_plugin_set_data(). But it is meant for new-style plugins
anyway.
src/pluginprivate.h
src/plugins.c
src/pluginutils.c