diff options
Diffstat (limited to 'src/configmac.c')
| -rw-r--r-- | src/configmac.c | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/src/configmac.c b/src/configmac.c index c73130a..0b406a8 100644 --- a/src/configmac.c +++ b/src/configmac.c @@ -2,12 +2,12 @@ Copyright 1991 by Stichting Mathematisch Centrum, Amsterdam, The Netherlands. - All Rights Reserved + All Rights Reserved -Permission to use, copy, modify, and distribute this software and its -documentation for any purpose and without fee is hereby granted, +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that -both that copyright notice and this permission notice appear in +both that copyright notice and this permission notice appear in supporting documentation, and that the names of Stichting Mathematisch Centrum or CWI not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. @@ -34,21 +34,21 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. void initargs(p_argc, p_argv) - int *p_argc; - char ***p_argv; + int *p_argc; + char ***p_argv; { #ifdef USE_STDWIN #ifdef THINK_C_3_0 - wsetstdio(1); + wsetstdio(1); #else - /* This printf() statement is really needed only - to initialize THINK C 4.0's stdio: */ - printf( + /* This printf() statement is really needed only + to initialize THINK C 4.0's stdio: */ + printf( "Python 4.0, Copyright 1990 Stichting Mathematisch Centrum, Amsterdam\n"); #endif - wargs(p_argc, p_argv); + wargs(p_argc, p_argv); #endif } @@ -61,7 +61,7 @@ void donecalls() { #ifdef USE_STDWIN - wdone(); + wdone(); #endif } @@ -73,18 +73,18 @@ donecalls() char * getpythonpath() { - return PYTHONPATH; + return PYTHONPATH; } /* Table of built-in modules. - These are initialized when first imported. */ + These are initialized when first imported. */ /* Standard modules */ extern void inittime(); extern void initmath(); extern void initregexp(); - + /* Mac-specific modules */ extern void initmac(); #ifdef USE_STDWIN @@ -92,18 +92,18 @@ extern void initstdwin(); #endif struct { - char *name; - void (*initfunc)(); + char *name; + void (*initfunc)(); } inittab[] = { - /* Standard modules */ - {"time", inittime}, - {"math", initmath}, - {"regexp", initregexp}, - - /* Mac-specific modules */ - {"mac", initmac}, + /* Standard modules */ + {"time", inittime}, + {"math", initmath}, + {"regexp", initregexp}, + + /* Mac-specific modules */ + {"mac", initmac}, #ifdef USE_STDWIN - {"stdwin", initstdwin}, + {"stdwin", initstdwin}, #endif - {0, 0} /* Sentinel */ + {0, 0} /* Sentinel */ }; |
