diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1996-09-07 17:09:31 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1996-09-07 17:09:31 (GMT) |
commit | 7d5f9e847a75c65f97068b3fd7980e62717c16fc (patch) | |
tree | 92ba6ec03558f4759c402221e7d7bae2ca7ee5eb /Mac/Include/pythonresources.h | |
parent | 6d653ab1b6463957f0c4d9059e778132c65123fa (diff) | |
download | cpython-7d5f9e847a75c65f97068b3fd7980e62717c16fc.zip cpython-7d5f9e847a75c65f97068b3fd7980e62717c16fc.tar.gz cpython-7d5f9e847a75c65f97068b3fd7980e62717c16fc.tar.bz2 |
- Put all options in a struct
- Unified initialization code for interpreter and applet
- Implemented new options to skip AE-processing for argc/argv and for
disabling interactive option setting
Diffstat (limited to 'Mac/Include/pythonresources.h')
-rw-r--r-- | Mac/Include/pythonresources.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/Mac/Include/pythonresources.h b/Mac/Include/pythonresources.h index 02607bd..514eb40 100644 --- a/Mac/Include/pythonresources.h +++ b/Mac/Include/pythonresources.h @@ -95,13 +95,23 @@ #define POPT_NOINTOPT 7 /* Not settable interactively */ #define POPT_NOARGS 8 /* Not settable interactively */ +typedef struct PyMac_PrefRecord { + unsigned char inspect; + unsigned char verbose; + unsigned char suppress_print; + unsigned char unbuffered; + unsigned char debugging; + unsigned char keep_normal; + unsigned char keep_error; + unsigned char nointopt; + unsigned char noargs; +} PyMac_PrefRecord; + /* The GUSI options resources */ #define GUSIOPTIONS_ID 10240 #define GUSIOPTIONSOVERRIDE_ID 10241 /* From macgetpath.c: */ -void PyMac_PreferenceOptions Py_PROTO((int *inspect, int *verbose, int *suppress_print, - int *unbuffered, int *debugging, int *keep_normal, - int *keep_error)); +void PyMac_PreferenceOptions Py_PROTO((PyMac_PrefRecord *)); |