On 31 March 2015 at 16:51, Thomas Martitz kugel@rockbox.org wrote:
Am 31.03.2015 um 01:48 schrieb Lex Trotman:
Yes, but the 2nd and 3rd points are entirely up to the pluxy. My demopluxy.so doesn't do anything fancy. it creates a dummy plugin out of a GKeyFile. Oh sure it depends on the language/runtime etc.
But the loader/unloader function is mandatory, it also acts as the entry point for pluxies to start their bindings/vm machinery if necessary.
Thats the load for the proxy right? The load for the supported plugins is one of the registered hooks right?
That means that the "machinery" gets started even if there are no plugins using it enabled?
Again, how/when it loads the machinery depends on the proxy :) But the load/unload I was referring to is called per-sub-plugin, so a smart proxy can start the machinery (if there is anything to start) when the first plugin is loaded, and /not/ in the proxy's own init().
Neat, ok :)
Best regards.
Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel