]> git.draconx.ca Git - gob-dx.git/blob - src/checks.h
4d12b38e38232edb5836d5980de5959dd8b5e0ce
[gob-dx.git] / src / checks.h
1 /* GOB C Preprocessor
2  * Copyright (C) 1999-2000 the Free Software Foundation.
3  * Copyright (C) 2000 Eazel, Inc.
4  * Copyright (C) 2001 George Lebl
5  *
6  * Author: George Lebl
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the  Free Software
20  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
21  * USA.
22  */
23
24 #ifndef CHECKS_H
25 #define CHECKS_H
26
27 void            check_duplicate_symbols         (Class *c);
28 void            check_duplicate_overrides       (Class *c);
29 void            check_bad_symbols               (Class *c);
30 void            check_duplicate_signals_args    (Class *c);
31 void            check_public_new                (Class *c);
32 void            check_vararg                    (Class *c);
33 void            check_firstarg                  (Class *c);
34 void            check_nonvoidempty              (Class *c);
35 void            check_signal_args               (Class *c);
36 void            check_argument_types            (Class *c);
37 void            check_property_types            (Class *c);
38 void            check_func_arg_checks           (Class *c);
39
40 int             count_signals                   (Class *c);
41 int             count_set_properties            (Class *c);
42 int             count_get_properties            (Class *c);
43 int             count_set_arguments             (Class *c);
44 int             count_get_arguments             (Class *c);
45 int             count_overrides                 (Class *c);
46 int             count_privates                  (Class *c);
47 int             count_protecteds                (Class *c);
48 int             count_unreftors                 (Class *c);
49 int             count_destructors               (Class *c);
50 int             count_initializers              (Class *c);
51 gboolean        find_get_type                   (Class *c);
52
53 #endif