plugins: generic load_data instead of module pointer in Plugin struct
commitbdaab9c8378913016d8bc6c76d2100e6d6a9baab
authorThomas Martitz <kugel@rockbox.org>
Wed, 26 Aug 2015 21:58:12 +0000 (26 23:58 +0200)
committerThomas Martitz <kugel@rockbox.org>
Mon, 5 Oct 2015 20:11:12 +0000 (5 22:11 +0200)
treed962bec241ec0e980e010a284aa36ed4475b0834
parentd008675b1bb1360f32360c98f54175783c5f0f2f
plugins: generic load_data instead of module pointer in Plugin struct

Being a GModule is actually a detail of standard plugins. Future proxy plugins
might need different handles. Therefore replace the module field with a more
generic pointer and encapsulate the GModule detail further.

This pointer shall be returned from GeanyProxyFuncs::load and is passed back
to GeanyProxyFuncs::unload, and isn't interpreted by Geany.
src/plugindata.h
src/pluginprivate.h
src/plugins.c
src/pluginutils.c