Mercurial > cpython-lru_cache-weakref
diff Mac/Include/pythonresources.h @ 4238:6c86d9136c09 legacy-trunk
- 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
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Sat, 07 Sep 1996 17:09:31 +0000 |
| parents | 573ed5e3879b |
| children | fdd129f0574e |
line wrap: on
line diff
--- a/Mac/Include/pythonresources.h Sat Sep 07 17:06:49 1996 +0000 +++ b/Mac/Include/pythonresources.h Sat Sep 07 17:09:31 1996 +0000 @@ -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 *));
