gobject-introspection r395 - in trunk: . tests
- From: johan svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r395 - in trunk: . tests
- Date: Mon, 18 Aug 2008 13:17:06 +0000 (UTC)
Author: johan
Date: Mon Aug 18 13:17:06 2008
New Revision: 395
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=395&view=rev
Log:
2008-08-18 Johan Dahlin <johan gnome org>
* tests/array.gir: Update with new type proposal
Modified:
trunk/ChangeLog
trunk/tests/array.gir
Modified: trunk/tests/array.gir
==============================================================================
--- trunk/tests/array.gir (original)
+++ trunk/tests/array.gir Mon Aug 18 13:17:06 2008
@@ -34,14 +34,39 @@
</parameter>
</parameters>
</function>
- <function name="test3" c:identifier="test3">
+ <function name="sequence_test" c:identifier="foo_mapping_test">
<return-value>
- <type name="boolean" c:type="gboolean"/>
+ <type name="boolean"/>
</return-value>
<parameters>
- <parameter name="p1">
+ <parameter name="data">
<type name="sequence" c:type="guint8*" length="1" zero-terminated="1">
- <type name="uint8" c:type="guint8"/>
+ <type name="uint8" c:type="guint8" relation="element"/>
+ </type>
+ </parameter>
+ </parameters>
+ </function>
+ <function name="sequence_test2" c:identifier="foo_sequence_test2">
+ <return-value>
+ <type name="boolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="objects">
+ <type name="sequence" c:type="GSList*">
+ <type name="GObject.Object" c:type="GObject*" relation="element"/>
+ </type>
+ </parameter>
+ </parameters>
+ </function>
+ <function name="mapping_test" c:identifier="foo_mapping_test">
+ <return-value>
+ <type name="boolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="mapping">
+ <type name="mapping" c:type="GHashTable*">
+ <type name="uint8" c:type="guint8" relation="key"/>
+ <type name="string" c:type="gchar*" relation="value"/>
</type>
</parameter>
</parameters>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]