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
This commit is contained in:
Colin Walters
2012-02-03 13:20:00 -05:00
parent 3aaf08b49d
commit b9d0981460
7 changed files with 20 additions and 2 deletions

View File

@@ -206,6 +206,7 @@ struct _GIrNodeVFunc
gboolean must_be_implemented;
gboolean must_not_be_implemented;
gboolean is_class_closure;
gboolean throws;
char *invoker;