A bit more cleanup

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@928 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2000-10-20 03:57:32 +00:00
commit 7bbd3d1ef3
2 changed files with 1 additions and 5 deletions

View file

@ -42,7 +42,6 @@ extern "C" {
DOH *f_wrappers; // FILE pointers DOH *f_wrappers; // FILE pointers
DOH *f_init; DOH *f_init;
FILE *f_input; FILE *f_input;
char InitName[256];
char LibDir[512]; // Library directory char LibDir[512]; // Library directory
int Status; int Status;
Language *lang; // Language method Language *lang; // Language method
@ -203,7 +202,6 @@ int SWIG_main(int argc, char *argv[], Language *l) {
#endif #endif
Swig_add_directory((DOH *) temp); Swig_add_directory((DOH *) temp);
Swig_add_directory((DOH *) LibDir); Swig_add_directory((DOH *) LibDir);
sprintf(InitName,"init_wrap");
libfiles = NewList(); libfiles = NewList();

View file

@ -39,9 +39,7 @@ extern DOH *f_header; // Headers
extern DOH *f_wrappers; // Wrappers extern DOH *f_wrappers; // Wrappers
extern DOH *f_init; // Initialization code extern DOH *f_init; // Initialization code
extern FILE *f_input; extern FILE *f_input;
extern char InitName[256];
extern char LibDir[512]; // Library directory extern char LibDir[512]; // Library directory
//extern char **InitNames; // List of other init functions
extern int Status; // Variable creation status extern int Status; // Variable creation status
extern int yyparse(); extern int yyparse();
extern int line_number; extern int line_number;
@ -87,7 +85,7 @@ struct Pragma {
Pragma *next; Pragma *next;
}; };
/* Real Language Class */ /* Language Class */
class Language { class Language {
public: public:
virtual void parse_args(int argc, char *argv[]) = 0; virtual void parse_args(int argc, char *argv[]) = 0;