diff options
author | Colin Walters <walters@verbum.org> | 2012-02-03 13:20:00 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2012-02-03 13:20:57 -0500 |
commit | 39a70b7b108ed1a262de0b9dc3ffca944d9eee0f (patch) | |
tree | a3ef3ed0fdd5893f4672aceed9c267193919f534 /girepository/gitypelib-internal.h | |
parent | 79dcd9cd97b36b92a8f0dd0b94f40055fddbf7d4 (diff) | |
download | gobject-introspection-39a70b7b108ed1a262de0b9dc3ffca944d9eee0f.tar.gz |
girepository: Add GI_VFUNC_THROWS
Virtual functions can definitely throw an error. Right now the
scanner omits the GError parameter for them and adds throws="1", but
g-ir-compiler ignores this.
https://bugzilla.gnome.org/show_bug.cgi?id=669332
Diffstat (limited to 'girepository/gitypelib-internal.h')
-rw-r--r-- | girepository/gitypelib-internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/girepository/gitypelib-internal.h b/girepository/gitypelib-internal.h index f450a2fb..c6575d67 100644 --- a/girepository/gitypelib-internal.h +++ b/girepository/gitypelib-internal.h @@ -925,7 +925,8 @@ typedef struct { guint16 must_be_implemented : 1; guint16 must_not_be_implemented : 1; guint16 class_closure : 1; - guint16 reserved :12; + guint16 throws : 1; + guint16 reserved :11; guint16 signal; guint16 struct_offset; |