Release 0.41.92
[vala-gnome.git] / tests / gir / bug788775.test
blob80ae7cd212a49993f4a146ea4770635b9cba4677
1 GIR
3 Input:
5       <function name="get_string_list" c:identifier="test_get_string_list">
6         <return-value transfer-ownership="full">
7           <array length="1" zero-terminated="1" c:type="gchar**">
8             <type name="utf8"/>
9           </array>
10         </return-value>
11         <parameters>
12           <parameter name="key" transfer-ownership="none">
13             <type name="utf8" c:type="const gchar*"/>
14           </parameter>
15           <parameter name="length"
16                      direction="out"
17                      caller-allocates="0"
18                      transfer-ownership="full"
19                      optional="1"
20                      allow-none="1">
21             <type name="gsize" c:type="gsize*"/>
22           </parameter>
23         </parameters>
24       </function>
26 Output:
28 [CCode (array_length = true, array_length_pos = 1.1, array_length_type = "gsize", array_null_terminated = true, cheader_filename = "test.h")]
29 public static string[] get_string_list (string key);