diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-08-12 19:05:31 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-08-12 19:05:31 (GMT) |
commit | 4b2f65ed2125cd7b6ef598cf02738f6c839d8935 (patch) | |
tree | de62e9daaafe63248c45202004758e91b7341cc5 /plugins/mobicore/mobicore.c | |
parent | b5c6bcea25b1b840fd6c8e89a4a3c9fbd83ba84b (diff) |
Extended the loading process of binary formats to prepare the DWARF support.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@568 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'plugins/mobicore/mobicore.c')
-rw-r--r-- | plugins/mobicore/mobicore.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/mobicore/mobicore.c b/plugins/mobicore/mobicore.c index 15bc0a1..087297b 100644 --- a/plugins/mobicore/mobicore.c +++ b/plugins/mobicore/mobicore.c @@ -54,9 +54,9 @@ G_MODULE_EXPORT bool chrysalide_plugin_init(GPluginModule *plugin, GObject *ref) { bool result; /* Bilan à retourner */ - printf("Loaded !\n"); + result &= register_format_matcher(mclf_is_matching); - result = register_format_type("mclf", "MobiCore Load Format", mclf_is_matching, g_mclf_format_new); + result = register_format_loader("mclf", "MobiCore Load Format", g_mclf_format_new); return result; @@ -78,8 +78,6 @@ G_MODULE_EXPORT bool chrysalide_plugin_init(GPluginModule *plugin, GObject *ref) G_MODULE_EXPORT void chrysalide_plugin_exit(GPluginModule *plugin, GObject *ref) { - - printf("Unloaded !\n"); - + /* TODO */ } |