diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2024-05-19 22:30:44 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2024-05-19 22:30:44 (GMT) |
commit | 49ae908b6aa3c8c6bca2c79b0a68f587f51b600f (patch) | |
tree | 9bdf9eafd3b2e60c8fc4c1ff85c485e83224619a /plugins/pychrysalide/core.h | |
parent | c5acce4cfbd872443802d02cc3f06b931c79045b (diff) |
Load the GLib module from the GI repository at Python bindings startup.
Diffstat (limited to 'plugins/pychrysalide/core.h')
-rw-r--r-- | plugins/pychrysalide/core.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/pychrysalide/core.h b/plugins/pychrysalide/core.h index 88c4140..5d25d3d 100644 --- a/plugins/pychrysalide/core.h +++ b/plugins/pychrysalide/core.h @@ -55,6 +55,9 @@ G_MODULE_EXPORT void chrysalide_plugin_on_plugins_loaded(GPluginModule *, Plugin /* Crée une instance à partir d'un type dynamique externe. */ G_MODULE_EXPORT gpointer chrysalide_plugin_build_type_instance(GPluginModule *, PluginAction, GType); +/* Charge un module GI dans Python avec une version attendue. */ +bool import_namespace_from_gi_repository(const char *, const char *); + /* Présente dans le journal une exception survenue. */ void log_pychrysalide_exception(const char *, ...); |