Minor cleanup

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@785 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2000-09-01 16:01:42 +00:00
commit f80859b855

View file

@ -151,8 +151,8 @@ int SWIG_main(int argc, char *argv[], Language *l) {
extern void parser_init(void); extern void parser_init(void);
DOH *libfiles = 0; DOH *libfiles = 0;
/* This registers a function for producing escaped strings */ /* Initialize the SWIG core */
DohEncoding("escape",Swig_string_escape); Swig_init();
#ifdef MACSWIG #ifdef MACSWIG
try { try {
@ -160,7 +160,6 @@ int SWIG_main(int argc, char *argv[], Language *l) {
// Initialize the preprocessor // Initialize the preprocessor
Preprocessor_init(); Preprocessor_init();
Swig_typemap_init();
f_wrappers = 0; f_wrappers = 0;
f_init = 0; f_init = 0;
@ -169,8 +168,6 @@ int SWIG_main(int argc, char *argv[], Language *l) {
lang = l; lang = l;
Status = 0; Status = 0;
// DataType_init_typedef(); // Initialize the type handler
// Set up some default symbols (available in both SWIG interface files // Set up some default symbols (available in both SWIG interface files
// and C files) // and C files)