diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-12-27 20:44:31 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-12-27 20:44:31 (GMT) |
commit | 4b1367d2fee7be0789744e1db35d6f9200b29163 (patch) | |
tree | 3b22581bf6a6d2da6d73a7fef30540282808ecb7 /src/plugins/pglist.h | |
parent | f6490769c12dbb3b7766c7e6861284b8fee9f9e6 (diff) |
Updated the API in order to allow Python plugins to rely on native plugins.
Diffstat (limited to 'src/plugins/pglist.h')
-rw-r--r-- | src/plugins/pglist.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/pglist.h b/src/plugins/pglist.h index 0c8f6af..1306571 100644 --- a/src/plugins/pglist.h +++ b/src/plugins/pglist.h @@ -85,6 +85,11 @@ GPluginModule **get_all_plugins_for_action(PluginAction, size_t *); while (0) +/* DPS_PG_MANAGEMENT */ + +#define notify_native_loaded \ + process_all_plugins_for(PGA_NATIVE_LOADED, g_plugin_module_notify_native_loaded, NULL) + /* DPS_SETUP */ #define include_plugin_theme(r, c) \ @@ -103,9 +108,6 @@ GPluginModule **get_all_plugins_for_action(PluginAction, size_t *); #define handle_binary_format_analysis(a, f, g, s) \ process_all_plugins_for(a, g_plugin_module_handle_binary_format_analysis, f, g, s) -#define handle_binary_format(a, f, s) \ - process_all_plugins_for(a, g_plugin_module_handle_binary_format, f, s) - #define preload_binary_format(a, f, i, s) \ process_all_plugins_for(a, g_plugin_module_preload_binary_format, f, i, s) |