- {
match = utils_str_equal(linebuf, "#!!PROXY_MAGIC!!\n");
fclose(f);
- }
- return match ? PROXY_MATCHED : PROXY_IGNORED;
+} +@endcode
+GeanyProxyFuncs::load is a bit more complex. It reads the file, fills the inferior's PluginInfo +fields and calls GEANY_PLUGIN_REGISTER_FULL(). Additionally, it creates a per-plugin context that +holds GKeyFile instance (a poor man's interpeter context). You can also see that it does not call +GEANY_PLUGIN_REGISTER_FULL() if g_key_file_load_from_file() found an error (probably a syntax +problem) which means the sub-plugin cannot be enabled.
+It also installs wrapper functions for the inferior's GeanyPluginFuncs as Ini files aren't code. +It's very likely that your proxy needs something similar because you can only install function
agreed. at first "inferior" bugged me, but a dictionary lookup made me shut up and leave it to @elextr, which has now stricken :]
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/629/files#r40504011
github-comments@lists.geany.org