diff options
author | Sam Thursfield <sam@afuera.me.uk> | 2017-05-21 23:36:11 +0100 |
---|---|---|
committer | Sam Thursfield <sam@afuera.me.uk> | 2017-05-21 23:36:11 +0100 |
commit | 2c2fa66655538628374cdbff407308dafaa36fb3 (patch) | |
tree | b68c995ed6851026d2fa7ba377a9c160ea56f6b7 /girepository/girmodule.h | |
parent | 85b1d70b93211415d975deff6050f1401743e72d (diff) | |
download | gobject-introspection-wip/sam/multiple-girs-one-typelib.tar.gz |
Add support for merging multiple .gir files into a single .typelibwip/sam/multiple-girs-one-typelib
This is needed for libraries which are implemented in multiple
languages, for example libtracker-sparql which partly C and partly Vala.
The Vala compiler cannot generate a .gir for the C code, and
g-ir-scanner cannot effectively scan the C code generated by `valac`
(see https://bugzilla.gnome.org/show_bug.cgi?id=781354)
Requires tests.
Diffstat (limited to 'girepository/girmodule.h')
-rw-r--r-- | girepository/girmodule.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/girepository/girmodule.h b/girepository/girmodule.h index 7837f2cf..657a0c29 100644 --- a/girepository/girmodule.h +++ b/girepository/girmodule.h @@ -66,6 +66,8 @@ GIrModule *_g_ir_module_new (const gchar *name, const gchar *c_prefix); void _g_ir_module_free (GIrModule *module); +void _g_ir_module_merge (GIrModule *left, GIrModule *right); + void _g_ir_module_add_include_module (GIrModule *module, GIrModule *include_module); |