summaryrefslogtreecommitdiff
path: root/tests/scanner
diff options
context:
space:
mode:
authorRobert Carr <racarr@src.gnome.org>2009-01-29 10:32:25 +0000
committerRobert Carr <racarr@src.gnome.org>2009-01-29 10:32:25 +0000
commit7e95d35b3e0eae081ae0ce34ff9620ebcd2a813d (patch)
tree949f21641e40679b56bbe3d07bfd6299ab5d6410 /tests/scanner
parent60330a261e75e372c71cdbfbc4e0b31654178328 (diff)
downloadgobject-introspection-7e95d35b3e0eae081ae0ce34ff9620ebcd2a813d.tar.gz
post_filter_varargs_functions should also filter callbacks. Add tests of
* girepository/girparser.c: post_filter_varargs_functions should also filter callbacks. * tests/scanner/foo.h: Add tests of varargs callbacks. svn path=/trunk/; revision=1075
Diffstat (limited to 'tests/scanner')
-rw-r--r--tests/scanner/foo.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/scanner/foo.h b/tests/scanner/foo.h
index b3614f35..ee45cf67 100644
--- a/tests/scanner/foo.h
+++ b/tests/scanner/foo.h
@@ -293,6 +293,12 @@ const FooStruct * foo_test_const_struct_retval (void);
void foo_test_const_char_param (const char * param);
void foo_test_const_struct_param (const FooStruct * param);
+typedef void (*FooVarargsCallback) (const char * param, ...);
+void foo_test_varargs_callback (gint i, FooVarargsCallback callback);
+void foo_test_varargs_callback2 (FooVarargsCallback callback);
+void foo_test_varargs_callback3 (FooVarargsCallback callback,
+ FooVarargsCallback callback2);
+
typedef enum {
FOO_ERROR_GOOD,
FOO_ERROR_BAD,