Lots of cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
16568f9aa0
commit
3f37a8fd6f
9 changed files with 507 additions and 1151 deletions
|
|
@ -451,7 +451,7 @@ int SWIG_main(int argc, char *argv[], Language *l) {
|
|||
|
||||
Dump(f_header,f_runtime);
|
||||
Dump(f_wrappers, f_runtime);
|
||||
Dump(f_init, f_runtime);
|
||||
Wrapper_pretty_print(f_init,f_runtime);
|
||||
fclose(f_runtime);
|
||||
if (checkout) {
|
||||
// File was checked out from the SWIG library. Remove it now
|
||||
|
|
|
|||
|
|
@ -970,9 +970,9 @@ statement : INCLUDE STRING LBRACE {
|
|||
|
||||
| MODULE ID initlist {
|
||||
if ($3.count)
|
||||
lang->set_module($2,$3.names);
|
||||
lang->set_module($2);
|
||||
else
|
||||
lang->set_module($2,0);
|
||||
lang->set_module($2);
|
||||
module_init = 1;
|
||||
init_language();
|
||||
for (i = 0; i < $3.count; i++)
|
||||
|
|
|
|||
|
|
@ -175,7 +175,7 @@ public:
|
|||
virtual void declare_const(char *, char *, SwigType *, char *) = 0;
|
||||
virtual void initialize(void) = 0;
|
||||
virtual void close(void) = 0;
|
||||
virtual void set_module(char *mod_name,char **mod_list) = 0;
|
||||
virtual void set_module(char *mod_name) = 0;
|
||||
virtual void add_native(char *name, char *iname, SwigType *t, ParmList *l);
|
||||
virtual void add_typedef(SwigType *t, char *name);
|
||||
virtual void create_command(char *cname, char *iname);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue