diff options
author | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-11-09 19:17:23 +0100 |
---|---|---|
committer | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-11-11 13:55:00 +0100 |
commit | f8693bda3775f6339f38a17c037ac7bc4a4cc3f7 (patch) | |
tree | 89456982ed5b6e8e5850a7c05f55a50f3be0c5fa /girepository/gtypelib.h | |
parent | 3715b02198c9efc34d70f489d4e55a39456d8f99 (diff) | |
download | gobject-introspection-f8693bda3775f6339f38a17c037ac7bc4a4cc3f7.tar.gz |
Implement callbacks as part of struct fields. Fixes #557383
gir: embed <callback> inside <field>
typelib: if a field contains a callback, store it just after the FieldBlob
girepository API: no additions
Diffstat (limited to 'girepository/gtypelib.h')
-rw-r--r-- | girepository/gtypelib.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/girepository/gtypelib.h b/girepository/gtypelib.h index 015682e2..26486afc 100644 --- a/girepository/gtypelib.h +++ b/girepository/gtypelib.h @@ -622,6 +622,7 @@ typedef struct { * @name: The name of the field. * @readable: * @writable: How the field may be accessed. + * @has_embedded_type: An anonymous type follows the FieldBlob. * @bits: If this field is part of a bitfield, the number of bits which it * uses, otherwise 0. * @struct_offset: @@ -634,7 +635,8 @@ typedef struct { guint8 readable :1; guint8 writable :1; - guint8 reserved :6; + guint8 has_embedded_type :1; + guint8 reserved :5; guint8 bits; guint16 struct_offset; |