gobject-introspection r907 - in trunk: . tests/everything
- From: johan svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r907 - in trunk: . tests/everything
- Date: Thu, 13 Nov 2008 09:37:49 +0000 (UTC)
Author: johan
Date: Thu Nov 13 09:37:49 2008
New Revision: 907
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=907&view=rev
Log:
2008-11-12 Johan Dahlin <jdahlin async com br>
* tests/everything/gitesttypes.c (test_gtype_in):
* tests/everything/gitesttypes.h:
Add a test of GType arrays, a la gtk_list_store_set_columns.
Modified:
trunk/ChangeLog
trunk/tests/everything/gitesttypes.c
trunk/tests/everything/gitesttypes.h
Modified: trunk/tests/everything/gitesttypes.c
==============================================================================
--- trunk/tests/everything/gitesttypes.c (original)
+++ trunk/tests/everything/gitesttypes.c Thu Nov 13 09:37:49 2008
@@ -172,6 +172,17 @@
return TRUE;
}
+/**
+ * test_gtype_in:
+ * @n_types:
+ * @types: (array length=n_types): List of types
+ */
+int
+test_gtype_in (int n_types, GType **types)
+{
+ return n_types;
+}
+
char **
test_strv_out (void)
{
Modified: trunk/tests/everything/gitesttypes.h
==============================================================================
--- trunk/tests/everything/gitesttypes.h (original)
+++ trunk/tests/everything/gitesttypes.h Thu Nov 13 09:37:49 2008
@@ -36,6 +36,7 @@
/* non-basic-types */
/* array */
gboolean test_strv_in (char **arr);
+int test_gtype_in (int n_types, GType **types);
char **test_strv_out (void);
/* interface */
/* GList */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]