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.
svn path=/trunk/; revision=960
+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.
+
2008-11-23 Johan Dahlin <jdahlin@async.com.br>
Bug 562022 – gobject-introspection needs python headers
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;
#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)
{