diff options
author | C. Scott Ananian <cscott@litl.com> | 2009-06-12 10:57:38 -0400 |
---|---|---|
committer | C. Scott Ananian <cscott@litl.com> | 2009-06-12 11:24:47 -0400 |
commit | c5dedb9cf43110990ef788e468cf23aef0cf83fb (patch) | |
tree | 9cd8e5bccb734f8466d052d2f04a46bde076d6d4 /gir/Everything-1.0-expected.gir | |
parent | db214ed923cfe9fc75432d5338e8a3b0d9c83d25 (diff) | |
download | gobject-introspection-c5dedb9cf43110990ef788e468cf23aef0cf83fb.tar.gz |
Bug 581685: Parse parameterized types (using <>) in annotations.
You can now specify a nested parameterized type in annotations as
(for example):
@param: (type GLib.HashTable<utf8,GLib.HashTable<utf,utf>>)
or
@param: (element-type utf8 GLib.HashTable<utf,utf>)
New test functions for the Everything typelib show how it works.
Diffstat (limited to 'gir/Everything-1.0-expected.gir')
-rw-r--r-- | gir/Everything-1.0-expected.gir | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gir/Everything-1.0-expected.gir b/gir/Everything-1.0-expected.gir index 2a96e2bb..669bef1e 100644 --- a/gir/Everything-1.0-expected.gir +++ b/gir/Everything-1.0-expected.gir @@ -705,6 +705,32 @@ call and can be released on return."> </parameter> </parameters> </function> + <function name="test_ghash_nested_everything_return" + c:identifier="test_ghash_nested_everything_return" + doc="Specify nested parameterized types directly with the (type ) annotation."> + <return-value transfer-ownership="full"> + <type name="GLib.HashTable" c:type="GHashTable*"> + <type name="utf8"/> + <type name="GLib.HashTable"> + <type name="utf8"/> + <type name="utf8"/> + </type> + </type> + </return-value> + </function> + <function name="test_ghash_nested_everything_return2" + c:identifier="test_ghash_nested_everything_return2" + doc="element-type annotation."> + <return-value transfer-ownership="full"> + <type name="GLib.HashTable" c:type="GHashTable*"> + <type name="utf8"/> + <type name="GLib.HashTable"> + <type name="utf8"/> + <type name="utf8"/> + </type> + </type> + </return-value> + </function> <function name="test_ghash_nothing_in" c:identifier="test_ghash_nothing_in"> <return-value transfer-ownership="none"> |