gobject-introspection r327 - in trunk: . tests tests/invoke
- From: johan svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r327 - in trunk: . tests tests/invoke
- Date: Fri, 8 Aug 2008 20:16:57 +0000 (UTC)
Author: johan
Date: Fri Aug 8 20:16:56 2008
New Revision: 327
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=327&view=rev
Log:
2008-08-08 Johan Dahlin <johan gnome org>
* tests/Makefile.am:
Disable roundtrip tests which are not yet working
* tests/invoke/testfns.gir:
Rewrite as gir.
2008-08-08 Johan Dahlin <johan gnome org>
* tests/Makefile.am:
Disable roundtrip tests which are not yet working
* tests/invoke/testfns.gir:
Rewrite as gir.
Modified:
trunk/ChangeLog
trunk/tests/Makefile.am
trunk/tests/invoke/testfns.gir
Modified: trunk/tests/Makefile.am
==============================================================================
--- trunk/tests/Makefile.am (original)
+++ trunk/tests/Makefile.am Fri Aug 8 20:16:56 2008
@@ -17,4 +17,4 @@
xref1.test \
xref2.test
-TESTS = roundtrips.sh
+TESTS = #roundtrips.sh
Modified: trunk/tests/invoke/testfns.gir
==============================================================================
--- trunk/tests/invoke/testfns.gir (original)
+++ trunk/tests/invoke/testfns.gir Fri Aug 8 20:16:56 2008
@@ -5,59 +5,93 @@
xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
<namespace name="test">
<function name="test1" c:identifier="test1">
- <return-type c:type="gint"/>
- <parameters>
- <parameter name="in" c:type="gint" direction="in"/>
+ <return-value>
+ <type name="int" c:type="gint"/>
+ </return-value>
+ <parameters>
+ <parameter name="in" direction="in">
+ <type name="int" c:type="gint"/>
+ </parameter>
</parameters>
</function>
<function name="test2" c:identifier="test2">
- <return-type c:type="void"/>
- <parameters>
- <parameter name="in" c:type="gint" direction="in"/>
- <parameter name="out" c:type="gint" direction="out"/>
+ <return-value>
+ <type name="void" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="in" c:type="gint" direction="in">
+ <type name="int" c:type="gint"/>
+ </parameter>
+ <parameter name="out" c:type="gint" direction="out">
+ <type name="int" c:type="gint"/>
+ </parameter>
</parameters>
</function>
<function name="test3" c:identifier="test3">
- <return-type c:type="void"/>
- <parameters>
- <parameter name="inout" c:type="gint" direction="inout"/>
+ <return-value>
+ <type name="void" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="inout" c:type="gint" direction="inout">
+ <type name="int" c:type="gint"/>
+ </parameter>
</parameters>
</function>
<function name="test4" c:identifier="test4">
- <return-type c:type="void"/>
- <parameters>
- <parameter name="blurb" c:type="gchar*" direction="in"/>
+ <return-value>
+ <type name="void" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="blurb" direction="in">
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
</parameters>
</function>
<function name="test5" c:identifier="test5">
- <return-type c:type="void"/>
- <parameters>
- <parameter name="blurb" c:type="gchar*" direction="out" transfer="full"/>
- <parameter name="len" c:type="gint" direction="out"/>
+ <return-value>
+ <type name="void" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="blurb" direction="out" transfer="full">
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="len" direction="out">
+ <type name="int" c:type="gint"/>
+ </parameter>
</parameters>
</function>
<function name="test6" c:identifier="test6">
- <return-type c:type="gint"/>
- <parameters>
- <parameter name="list" c:type="GList<gint>*" direction="in"/>
+ <return-value>
+ <type name="int" c:type="gint"/>
+ </return-value>
+ <parameters>
+ <parameter name="list" direction="in">
+ <type name="GList<gint>*" c:type="GList*"/>
+ </parameter>
</parameters>
</function>
<function name="test7" c:identifier="test7">
- <return-type c:type="utf8" transfer="full"/>
- <parameters>
- <parameter name="list" c:type="GList<utf8>*" direction="in"/>
+ <return-value transfer="full">
+ <type name="utf8" c:type="gchar*"/>
+ </return-value>
+ <parameters>
+ <parameter name="list" direction="in">
+ <type name="GList<utf8>*" c:type="GList*"/>
+ </parameter>
</parameters>
</function>
<function name="broken" c:identifier="broken">
- <return-type c:type="void"/>
+ <return-value>
+ <type name="void" c:type="void"/>
+ </return-value>
</function>
</namespace>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]