summaryrefslogtreecommitdiff
path: root/tests/errors.test
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-05-13 17:31:10 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-05-13 17:31:10 +0000
commiteb5d9a33e6e52dd6efb8432f265c2dfa68fbc480 (patch)
tree2c2a1f8b19f0d60617b9182a1cb2a28479593be3 /tests/errors.test
parent22580d644fece9a3c6cfa661650bdf0bcc31b8ea (diff)
downloadgobject-introspection-eb5d9a33e6e52dd6efb8432f265c2dfa68fbc480.tar.gz
Update testcases.
2005-05-13 Matthias Clasen <mclasen@redhat.com> * tests/*: Update testcases. * src/generate.c (write_callable_info): Don't forget to write transfer and null-ok attributes for return types and parameters. * src/girepository.h: * src/ginfo.c (g_callable_info_may_return_null): New function to find out if a function may return NULL.
Diffstat (limited to 'tests/errors.test')
-rw-r--r--tests/errors.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/errors.test b/tests/errors.test
index 4f4c9058..f36f862c 100644
--- a/tests/errors.test
+++ b/tests/errors.test
@@ -15,7 +15,7 @@
<return-type type="gboolean" />
<parameters>
<parameter name="p1" type="gint" direction="in" null-ok="1" />
- <parameter name="p2" type="GError<Errors1,Errors2>" direction="out" />
+ <parameter name="p2" type="GError<Errors1,Errors2>" transfer="full" direction="out" />
</parameters>
</function>
</namespace>