diff options
author | Colin Walters <walters@src.gnome.org> | 2008-10-18 01:07:16 +0000 |
---|---|---|
committer | Colin Walters <walters@src.gnome.org> | 2008-10-18 01:07:16 +0000 |
commit | fa67486c337c66c3de8ec8b886620797a232c916 (patch) | |
tree | bf81239bc8de33c57a4a107a12d26337f7f36781 /tests | |
parent | 294d28a2b141d129842a574d80745ce2a3545db8 (diff) | |
download | gobject-introspection-fa67486c337c66c3de8ec8b886620797a232c916.tar.gz |
Bug 556795 - Fix char ** regression
svn path=/trunk/; revision=750
Diffstat (limited to 'tests')
-rw-r--r-- | tests/scanner/foo-1.0-expected.gir | 12 | ||||
-rw-r--r-- | tests/scanner/foo.c | 4 | ||||
-rw-r--r-- | tests/scanner/foo.h | 2 |
3 files changed, 18 insertions, 0 deletions
diff --git a/tests/scanner/foo-1.0-expected.gir b/tests/scanner/foo-1.0-expected.gir index 3f997317..ff293501 100644 --- a/tests/scanner/foo-1.0-expected.gir +++ b/tests/scanner/foo-1.0-expected.gir @@ -500,6 +500,18 @@ </parameter> </parameters> </function> + <function name="test_string_array" c:identifier="foo_test_string_array"> + <return-value> + <type name="none" c:type="void"/> + </return-value> + <parameters> + <parameter name="array"> + <array c:type="char**"> + <type name="utf8"/> + </array> + </parameter> + </parameters> + </function> <constant name="SUCCESS_INT" value="4408"> <type name="int"/> </constant> diff --git a/tests/scanner/foo.c b/tests/scanner/foo.c index fff96a86..f46f3a32 100644 --- a/tests/scanner/foo.c +++ b/tests/scanner/foo.c @@ -335,3 +335,7 @@ void foo_test_unsigned (unsigned int uint) { } +void +foo_test_string_array (char **array) +{ +} diff --git a/tests/scanner/foo.h b/tests/scanner/foo.h index 1af34e81..b710215f 100644 --- a/tests/scanner/foo.h +++ b/tests/scanner/foo.h @@ -241,4 +241,6 @@ int foo_bunion_get_contained_type (FooBUnion *bunion); void foo_test_unsigned_qualifier (unsigned int unsigned_param); void foo_test_unsigned_type (unsigned unsigned_param); +void foo_test_string_array (char **array); + #endif /* __FOO_OBJECT_H__ */ |