summaryrefslogtreecommitdiff
path: root/tests/warn/missing-element-type.h
blob: 87206403d1efb67441a12e6481dca9453596075b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "common.h"

/**
 * test_gslist_element_type:
 *
 * Returns: (transfer none): Some stuff
 */
GSList *test_gslist_element_type(void);

// EXPECT:6: Warning: Test: test_gslist_element_type: return value: Missing (element-type) annotation

/**
 * test_ptrarray_element_type:
 * @somearray: An array.
 */
void test_ptrarray_arg_element_type(GPtrArray *somearray);

// EXPECT:16: Warning: Test: test_ptrarray_arg_element_type: argument somearray: Missing (element-type) annotation