Initial packaging for Tizen
[profile/ivi/gobject-introspection.git] / tests / warn / invalid-method.h
1 #include "common.h"
2
3 /**
4  * test_method_no_parameters: (method)
5  *
6  */
7 void test_method_no_parameters();
8
9 // EXPECT:7: Warning: Test: test_method_no_parameters: Methods must have parameters
10
11 /**
12  * test_method_invalid_first_parameter: (method):
13  *
14  */
15 void test_method_invalid_first_parameter(int param);
16
17 // EXPECT:15: Warning: Test: test_method_invalid_first_parameter: Methods must have a pointer as their first parameter
18
19 /**
20  * test_method_invalid_namespace: (method):
21  *
22  */
23 void test_method_invalid_namespace(GClosure *param);
24
25 // EXPECT:23: Warning: Test: test_method_invalid_namespace: Methods must belong to the same namespace as the class they belong to
26