summaryrefslogtreecommitdiff
path: root/tests/gimarshallingtests.h
diff options
context:
space:
mode:
authorGarrett Regier <Garrett.Regier@riftio.com>2014-08-07 12:04:50 -0400
committerGarrett Regier <Garrett.Regier@riftio.com>2014-08-07 15:53:47 -0400
commita6f199ddf1fbe1ba3ed406e40bf114c0912ef346 (patch)
treecffcdadc42cbb19fedf89b4356bd2e55bbe84fb6 /tests/gimarshallingtests.h
parentf530208ffe36f7f36476fd5f1bb78124cc9ac0ec (diff)
downloadgobject-introspection-a6f199ddf1fbe1ba3ed406e40bf114c0912ef346.tar.gz
tests: Add constructor with an error argument
Make sure a constructor that sets a GError works correctly. https://bugzilla.gnome.org/show_bug.cgi?id=727004
Diffstat (limited to 'tests/gimarshallingtests.h')
-rw-r--r--tests/gimarshallingtests.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/gimarshallingtests.h b/tests/gimarshallingtests.h
index aa2c2228..25a870b0 100644
--- a/tests/gimarshallingtests.h
+++ b/tests/gimarshallingtests.h
@@ -877,6 +877,7 @@ void gi_marshalling_tests_object_static_method (void);
void gi_marshalling_tests_object_method (GIMarshallingTestsObject *object);
void gi_marshalling_tests_object_overridden_method (GIMarshallingTestsObject *object);
GIMarshallingTestsObject *gi_marshalling_tests_object_new (gint int_);
+GIMarshallingTestsObject *gi_marshalling_tests_object_new_fail (gint int_, GError **error);
void gi_marshalling_tests_object_method_array_in (GIMarshallingTestsObject *object, const gint *ints, gint length);
void gi_marshalling_tests_object_method_array_out (GIMarshallingTestsObject *object, gint **ints, gint *length);