gobject-introspection r960 - in trunk: . tests/invoke tests/repository



Author: johan
Date: Sun Nov 23 20:36:15 2008
New Revision: 960
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=960&view=rev

Log:
2008-11-23  Johan Dahlin  <jdahlin async com br>

        Make it compilable with -Werror on my system by adding
        a couple of prototypes and including headers.



Modified:
   trunk/ChangeLog
   trunk/tests/invoke/testfns.c
   trunk/tests/repository/gitestrepo.c

Modified: trunk/tests/invoke/testfns.c
==============================================================================
--- trunk/tests/invoke/testfns.c	(original)
+++ trunk/tests/invoke/testfns.c	Sun Nov 23 20:36:15 2008
@@ -7,6 +7,16 @@
     int foo;
 } TestStruct;
 
+gint test1 (gint in);
+void test2 (gint in, gint *out);
+void test3 (gint *inout);
+void test4 (const gchar *blurb);
+void test5 (gchar **blurb, gint *len);
+gint test6 (GList *list);
+char *test7 (GList *list);
+TestStruct * test8 (int foo);
+void test9 (TestStruct *test_struct, int *out);
+
 gint test1 (gint in)
 {
   return in + 4;

Modified: trunk/tests/repository/gitestrepo.c
==============================================================================
--- trunk/tests/repository/gitestrepo.c	(original)
+++ trunk/tests/repository/gitestrepo.c	Sun Nov 23 20:36:15 2008
@@ -2,8 +2,11 @@
 #include "girepository.h"
 
 #include <stdlib.h>
+#include <string.h>
 #include <unistd.h>
 
+void test_constructor_return_type(GIBaseInfo* object_info);
+
 void
 test_constructor_return_type(GIBaseInfo* object_info)
 {



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