Incorporated Macintosh changes submitted by Luigi Ballabio

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@919 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2000-10-14 15:25:48 +00:00
commit 6e9629c7a8
8 changed files with 43 additions and 8 deletions

View file

@ -24,7 +24,9 @@ static char cvsroot[] = "$Header$";
*
***********************************************************************/
#ifndef MACSWIG
#include "swigconfig.h"
#endif
#include "mod11.h"
#include "tcl8.h"
#include "python.h"
@ -44,6 +46,11 @@ static char cvsroot[] = "$Header$";
#define SWIG_LANG PYTHON
#endif
#ifdef MACSWIG
#include <console.h>
#include <SIOUX.h>
#endif
static char *usage = (char*)"\
swig <options> filename\n\n\
Target Language Options:\n\
@ -66,6 +73,12 @@ int main(int argc, char **argv) {
int i;
Language *dl = new SWIG_LANG;
extern int SWIG_main(int, char **, Language *);
#ifdef MACSWIG
SIOUXSettings.asktosaveonclose = false;
argc = ccommand(&argv);
#endif
Swig_init_args(argc,argv);
// Get options