summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/pychrysa.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-08-16 09:16:53 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-08-16 09:16:53 (GMT)
commitfb315963527f6412273829f09513325e446eb6c9 (patch)
tree361f19767812a8f758545e8daa2973fe0b3c9de7 /plugins/pychrysalide/pychrysa.c
parent36945bffa2ca648b58c99905ebf9b1b536a9188a (diff)
Reorganized the Python plugin code.
Diffstat (limited to 'plugins/pychrysalide/pychrysa.c')
-rw-r--r--plugins/pychrysalide/pychrysa.c36
1 files changed, 21 insertions, 15 deletions
diff --git a/plugins/pychrysalide/pychrysa.c b/plugins/pychrysalide/pychrysa.c
index c1fdd6f..dee0d84 100644
--- a/plugins/pychrysalide/pychrysa.c
+++ b/plugins/pychrysalide/pychrysa.c
@@ -362,21 +362,27 @@ PyMODINIT_FUNC PyInit_pychrysalide(void)
status = register_python_py_struct(result);
- /* Interface 'LineGenerator' en premier... */
- if (status) status = add_glibext_module_to_python_module(result);
-
- /* BinRoutine hérite de BinSymbol... */
- if (status) status = add_format_module_to_python_module(result);
-
- if (status) status = register_python_plugin_module(result);
- if (status) status = add_analysis_module_to_python_module(result);
- if (status) status = add_arch_module_to_python_module(result);
- if (status) status = add_common_module_to_python_module(result);
- if (status) status = add_core_module_to_python_module(result);
- if (status) status = add_debug_module_to_python_module(result);
- if (status) status = add_gtkext_module_to_python_module(result);
- if (status) status = add_gui_module_to_python_module(result);
- if (status) status = add_mangling_module_to_python_module(result);
+ if (status) status = add_analysis_module(result);
+ if (status) status = add_arch_module(result);
+ if (status) status = add_common_module(result);
+ if (status) status = add_core_module(result);
+ if (status) status = add_debug_module(result);
+ if (status) status = add_format_module(result);
+ if (status) status = add_glibext_module(result);
+ if (status) status = add_gtkext_module(result);
+ if (status) status = add_gui_module(result);
+ if (status) status = add_mangling_module(result);
+
+ if (status) status = populate_analysis_module();
+ if (status) status = populate_arch_module();
+ if (status) status = populate_common_module();
+ if (status) status = populate_core_module();
+ if (status) status = populate_debug_module();
+ if (status) status = populate_format_module();
+ if (status) status = populate_glibext_module();
+ if (status) status = populate_gtkext_module();
+ if (status) status = populate_gui_module();
+ if (status) status = populate_mangling_module();
if (!status)
{