Initial packaging for Tizen
[profile/ivi/gobject-introspection.git] / tests / warn / invalid-array.h
1 #include "common.h"
2
3 /**
4  * test_invalid_array:
5  * @out1: (array foobar):
6  **/
7 void
8 test_invalid_array (char ***out1);
9
10 // EXPECT:5: Warning: Test: invalid array annotation value: 'foobar'
11
12 /**
13  * test_invalid_array_zero_terminated:
14  * @out1: (array zero-terminated):
15  * @out2: (array zero-terminated=foobar):
16  **/
17 void
18 test_invalid_array_zero_terminated (char ***out1,
19                                     char ***out2);
20
21 // EXPECT:14: Warning: Test: array option zero-terminated needs a value
22 // EXPECT:15: Warning: Test: invalid array zero-terminated option value 'foobar', must be an integer
23
24 /**
25  * test_invalid_array_fixed_size:
26  * @out1: (array fixed-size):
27  * @out2: (array fixed-size=foobar):
28  **/
29 void
30 test_invalid_array_fixed_size (char ***out1,
31                                char ***out2);
32
33 // EXPECT:26: Warning: Test: array option fixed-size needs a value
34 // EXPECT:27: Warning: Test: invalid array fixed-size option value 'foobar', must be an integer
35
36 /**
37  * test_invalid_array_length:
38  * @out1: (array length):
39  **/
40 void
41 test_invalid_array_length (char ***out1,
42                            char ***out2);
43
44 // EXPECT:38: Warning: Test: array option length needs a value