]>
Commit | Line | Data |
---|---|---|
c90f71dd RD |
1 | /******************************************************************************* |
2 | * Simplified Wrapper and Interface Generator (SWIG) | |
3 | * | |
4 | * Author : David Beazley | |
5 | * | |
6 | * Department of Computer Science | |
7 | * University of Chicago | |
8 | * 1100 E 58th Street | |
9 | * Chicago, IL 60637 | |
10 | * beazley@cs.uchicago.edu | |
11 | * | |
12 | * Please read the file LICENSE for the copyright and terms by which SWIG | |
13 | * can be used and distributed. | |
14 | *******************************************************************************/ | |
15 | ||
16 | class DEBUGLANG : public Language { | |
17 | private: | |
18 | char *path; | |
19 | char *module; | |
20 | public: | |
21 | DEBUGLANG() { | |
22 | path = "debug"; | |
23 | module = "swig"; | |
24 | } | |
25 | void parse_args(int argc, char *argv[]); | |
26 | void parse(); | |
27 | void create_function(char *, char *, DataType *, ParmList *); | |
28 | void link_variable(char *, char *, DataType *) ; | |
29 | void declare_const(char *, char *, DataType *, char *); | |
30 | void initialize(void); | |
31 | void headers(void); | |
32 | void close(void); | |
33 | void set_module(char *mod_name, char **mod_list); | |
34 | void set_init(char *init_name); | |
35 | void add_native(char *, char *); | |
36 | char *type_mangle(DataType *t) { | |
37 | return t->print_mangle_default(); | |
38 | } | |
39 | void cpp_member_func(char *, char *, DataType *, ParmList *); | |
40 | void cpp_constructor(char *, char *, ParmList *); | |
41 | void cpp_destructor(char *, char *); | |
42 | void cpp_open_class(char *, char *, char *, int strip); | |
43 | void cpp_close_class(); | |
44 | void cpp_inherit(char **, int mode = INHERIT_ALL); | |
45 | void cpp_variable(char *, char *, DataType *); | |
46 | void cpp_static_func(char *, char *, DataType *, ParmList *); | |
47 | void cpp_declare_const(char *, char *, DataType *, char *); | |
48 | void cpp_static_var(char *, char *, DataType *); | |
49 | void pragma(char *, char *, char *); | |
50 | void cpp_class_decl(char *, char *, char *); | |
51 | ||
52 | }; |