Mercurial > cpython-lru_cache-weakref
diff Mac/Include/pythonresources.h @ 6290:47fa3ddfb090 legacy-trunk
Added old-exceptions and no-site-python options and upped preference
version to 4.
Added balloon-help item to options dialog.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Tue, 09 Sep 1997 13:50:40 +0000 |
| parents | 33ef7ba6e74b |
| children | fa85a7fd740b |
line wrap: on
line diff
--- a/Mac/Include/pythonresources.h Tue Sep 09 03:50:59 1997 +0000 +++ b/Mac/Include/pythonresources.h Tue Sep 09 13:50:40 1997 +0000 @@ -62,12 +62,15 @@ #define OPT_CANCEL 2 #define OPT_INSPECT 3 #define OPT_VERBOSE 4 -#define OPT_SUPPRESS 5 +#define OPT_OPTIMIZE 5 #define OPT_UNBUFFERED 6 #define OPT_DEBUGGING 7 #define OPT_KEEPNORMAL 8 #define OPT_KEEPERROR 9 #define OPT_CMDLINE 10 +#define OPT_OLDEXC 13 +#define OPT_NOSITE 14 +#define OPT_HELP 16 /* Dialog for 'No preferences directory' */ #define NOPREFDIR_ID 133 @@ -126,6 +129,7 @@ /* The Python options resource and offset of its members */ #define PYTHONOPTIONS_ID 128 #define PYTHONOPTIONSOVERRIDE_ID 129 +#if 0 #define POPT_INSPECT 0 #define POPT_VERBOSE 1 #define POPT_OPTIMIZE 2 @@ -133,8 +137,9 @@ #define POPT_DEBUGGING 4 #define POPT_KEEPNORM 5 #define POPT_KEEPERR 6 +#endif -#define POPT_VERSION_CURRENT 3 /* Current version number */ +#define POPT_VERSION_CURRENT 4 /* Current version number */ typedef struct PyMac_PrefRecord { unsigned char version; @@ -147,6 +152,8 @@ unsigned char keep_error; unsigned char nointopt; unsigned char noargs; + unsigned char oldexc; + unsigned char nosite; } PyMac_PrefRecord; /* The GUSI options resources */
