summaryrefslogtreecommitdiff
path: root/girepository/girnode.c
diff options
context:
space:
mode:
authorJohan Dahlin <jdahlin@litl.com>2010-03-25 23:12:12 -0300
committerJohan Dahlin <johan@gnome.org>2010-03-25 23:12:12 -0300
commitd65f65cef8996e3dc1c305a6606930a061f2a99b (patch)
tree1ee6aa1b22f3663ed76c641ade614cc240a725a4 /girepository/girnode.c
parentd8a304b16bd285b671f144687d6fbe4a1d2bd43c (diff)
downloadgobject-introspection-d65f65cef8996e3dc1c305a6606930a061f2a99b.tar.gz
Add support for foreign structs
Foreign structs are special in the sense that there might be native bindings (for instance PyCairo for PyGI) that provides the same functionallity as the introspected variant. https://bugzilla.gnome.org/show_bug.cgi?id=610357
Diffstat (limited to 'girepository/girnode.c')
-rw-r--r--girepository/girnode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/girepository/girnode.c b/girepository/girnode.c
index 456ab738..1694406d 100644
--- a/girepository/girnode.c
+++ b/girepository/girnode.c
@@ -1885,6 +1885,7 @@ g_ir_node_build_typelib (GIrNode *node,
GList *members;
blob->blob_type = BLOB_TYPE_STRUCT;
+ blob->foreign = struct_->foreign;
blob->deprecated = struct_->deprecated;
blob->is_gtype_struct = struct_->is_gtype_struct;
blob->reserved = 0;