diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-01-22 18:28:36 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-01-22 18:34:46 (GMT) |
commit | c1bcf3e7bd0a256005bd15832117b78cee5fdfab (patch) | |
tree | 54188ab3933526ca79ae3e8f86dd99adad49e681 /src/plugins/dt.h | |
parent | 3a8bc79d69acae3735cc0203b54d93b4137caa09 (diff) |
Allowed to initialize instances of created dynamic types if needed.
Diffstat (limited to 'src/plugins/dt.h')
-rw-r--r-- | src/plugins/dt.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/plugins/dt.h b/src/plugins/dt.h index b9d4656..c25f4fd 100644 --- a/src/plugins/dt.h +++ b/src/plugins/dt.h @@ -40,7 +40,13 @@ bool init_chrysalide_dynamic_types(void); void exit_chrysalide_dynamic_types(void); /* Fournit un identifiant GLib pour un nouveau type. */ -GType built_dynamic_type(GType, const char *, GClassInitFunc, gconstpointer); +GType build_dynamic_type(GType, const char *, GClassInitFunc, gconstpointer, GInstanceInitFunc); + +/* Enregistre les données correspondant à une instance. */ +void register_dynamic_type_pattern(GObject *); + +/* Fournit les données correspondant à une instance initiale. */ +void *get_dynamic_type_pattern(GType); |