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