gobject-introspection r141 - in trunk: . tests/parser



Author: johan
Date: Mon Mar 10 22:24:13 2008
New Revision: 141
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=141&view=rev

Log:
2008-03-10  Johan Dahlin  <johan gnome org>

        * tests/parser/Foo-expected.gidl:
        * tests/parser/foo.c:
        Rename null-ok to direction=out



Modified:
   trunk/ChangeLog
   trunk/tests/parser/Foo-expected.gidl
   trunk/tests/parser/foo.c

Modified: trunk/tests/parser/Foo-expected.gidl
==============================================================================
--- trunk/tests/parser/Foo-expected.gidl	(original)
+++ trunk/tests/parser/Foo-expected.gidl	Mon Mar 10 22:24:13 2008
@@ -50,7 +50,7 @@
 				<return-type type="gint"/>
 				<parameters>
 					<parameter name="object" type="FooObject*"/>
-					<parameter name="outarg" type="int*" null-ok="1"/>
+					<parameter name="outarg" type="int*" direction="out"/>
 				</parameters>
 			</method>
 		</object>

Modified: trunk/tests/parser/foo.c
==============================================================================
--- trunk/tests/parser/foo.c	(original)
+++ trunk/tests/parser/foo.c	Mon Mar 10 22:24:13 2008
@@ -53,7 +53,7 @@
 /**
  * foo_object_out:
  * This is a test for out arguments
- * @outarg: (null-ok): This is an argument test
+ * @outarg: (out): This is an argument test
  */
 gint
 foo_object_out (FooObject *object, int *outarg)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]