gobject-introspection r708 - in trunk: . tests/scanner
- From: jobi svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r708 - in trunk: . tests/scanner
- Date: Wed, 15 Oct 2008 15:45:23 +0000 (UTC)
Author: jobi
Date: Wed Oct 15 15:45:23 2008
New Revision: 708
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=708&view=rev
Log:
2008-10-15 Johan Bilien <jobi via ecp fr>
* tests/scanner/annotation.c: fixed a few copy-paste errors
Modified:
trunk/ChangeLog
trunk/tests/scanner/annotation.c
Modified: trunk/tests/scanner/annotation.c
==============================================================================
--- trunk/tests/scanner/annotation.c (original)
+++ trunk/tests/scanner/annotation.c Wed Oct 15 15:45:23 2008
@@ -38,7 +38,7 @@
* Return value: an int
*/
gint
-annotation_object_in (AnnotationObject *object, int *outarg)
+annotation_object_out (AnnotationObject *object, int *outarg)
{
*outarg = 2;
return 1;
@@ -48,16 +48,15 @@
* annotation_object_in:
* @object: a #GObject
*
- * This is a test for out arguments
+ * This is a test for in arguments
*
* @outarg: (in): This is an argument test
* Return value: an int
*/
gint
-annotation_object_out (AnnotationObject *object, int *outarg)
+annotation_object_in (AnnotationObject *object, int *inarg)
{
- *outarg = 2;
- return 1;
+ return *inarg;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]