diff options
author | Robert Carr <racarr@src.gnome.org> | 2009-01-29 10:32:25 +0000 |
---|---|---|
committer | Robert Carr <racarr@src.gnome.org> | 2009-01-29 10:32:25 +0000 |
commit | 7e95d35b3e0eae081ae0ce34ff9620ebcd2a813d (patch) | |
tree | 949f21641e40679b56bbe3d07bfd6299ab5d6410 /tests/scanner/foo.h | |
parent | 60330a261e75e372c71cdbfbc4e0b31654178328 (diff) | |
download | gobject-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/foo.h')
-rw-r--r-- | tests/scanner/foo.h | 6 |
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, |