summaryrefslogtreecommitdiffstats
path: root/tests/libtestgi.h
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@sugarlabs.org>2009-11-25 10:33:56 +0100
committerTomeu Vizoso <tomeu@sugarlabs.org>2009-12-22 17:58:52 +0100
commit24fa1224ff00b9da177e0bfaa1e14e1b899e4976 (patch)
tree9d987e0adf0932ddf538aaff17cb33fc5d239762 /tests/libtestgi.h
parente955b931b07113c7432f7a85f882f69f12d263ad (diff)
downloadpygi-24fa1224ff00b9da177e0bfaa1e14e1b899e4976.tar.gz
pygi-24fa1224ff00b9da177e0bfaa1e14e1b899e4976.tar.xz
pygi-24fa1224ff00b9da177e0bfaa1e14e1b899e4976.zip
The array field 'length' starts to count from the C arg list, so need to decrement when it's a method
https://bugzilla.gnome.org/show_bug.cgi?id=602640
Diffstat (limited to 'tests/libtestgi.h')
-rw-r--r--tests/libtestgi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/libtestgi.h b/tests/libtestgi.h
index cbf6f9b..db12fd3 100644
--- a/tests/libtestgi.h
+++ b/tests/libtestgi.h
@@ -596,6 +596,10 @@ void test_gi_object_method (TestGIObject *object);
void test_gi_object_overridden_method (TestGIObject *object);
TestGIObject *test_gi_object_new (gint int_);
+void test_gi_object_method_array_in (TestGIObject *object, const gint *ints, gint length);
+void test_gi_object_method_array_out (TestGIObject *object, gint **ints, gint *length);
+void test_gi_object_method_array_inout (TestGIObject *object, gint **ints, gint *length);
+const gint *test_gi_object_method_array_return (TestGIObject *object, gint *length);
TestGIObject *test_gi__object_none_return (void);
TestGIObject *test_gi__object_full_return (void);