diff options
author | Colin Walters <walters@verbum.org> | 2010-09-07 15:13:06 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2010-09-07 15:16:44 -0400 |
commit | 7b4425d68f9fc8e7d798af1539e71d88530ad944 (patch) | |
tree | 0f6b377315d5b6ce317f69678d456ba06cc32e70 /tests/scanner/regress.h | |
parent | 6452d18b7f800ae1688b6ce2e486c8be307895f8 (diff) | |
download | gobject-introspection-7b4425d68f9fc8e7d798af1539e71d88530ad944.tar.gz |
scanner: Automatically skip callables which contain a skipped node
For legacy library author convenience, propagate (skip) on e.g.
structures to all callables which use them.
Diffstat (limited to 'tests/scanner/regress.h')
-rw-r--r-- | tests/scanner/regress.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/scanner/regress.h b/tests/scanner/regress.h index a1b48f2d..6fed4ca7 100644 --- a/tests/scanner/regress.h +++ b/tests/scanner/regress.h @@ -508,4 +508,20 @@ void regress_test_torture_signature_2 (int x, GValue *regress_test_date_in_gvalue (void); GValue *regress_test_strv_in_gvalue (void); +/** + * RegressSkippedStructure: (skip) + * + * This should be skipped, and moreover, all function which + * use it should be. + */ +typedef struct +{ + int x; + double v; +} RegressSkippedStructure; + +void regress_random_function_with_skipped_structure (int x, + RegressSkippedStructure *foo, + double v); + #endif /* __GITESTTYPES_H__ */ |