summaryrefslogtreecommitdiffstats
path: root/Mac/Include
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-09-22 21:50:11 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-09-22 21:50:11 (GMT)
commit4a5eb967b8b50bfc301d83d5d3234501db8f0a17 (patch)
tree8ab8ff50606d5050420d605638206942403acbb4 /Mac/Include
parente126233cd984d33644d26227842cf6f4360446d9 (diff)
downloadcpython-4a5eb967b8b50bfc301d83d5d3234501db8f0a17.zip
cpython-4a5eb967b8b50bfc301d83d5d3234501db8f0a17.tar.gz
cpython-4a5eb967b8b50bfc301d83d5d3234501db8f0a17.tar.bz2
Keepconsole is now a 4-way option: never/errorexit/unseen output/always. Default is "unseen output". Upped the Popt version number.
Diffstat (limited to 'Mac/Include')
-rw-r--r--Mac/Include/macbuildno.h2
-rw-r--r--Mac/Include/pythonresources.h27
2 files changed, 13 insertions, 16 deletions
diff --git a/Mac/Include/macbuildno.h b/Mac/Include/macbuildno.h
index 7cced77..f1bf41a 100644
--- a/Mac/Include/macbuildno.h
+++ b/Mac/Include/macbuildno.h
@@ -1 +1 @@
-#define BUILD 55
+#define BUILD 66
diff --git a/Mac/Include/pythonresources.h b/Mac/Include/pythonresources.h
index 1782608..0b74328 100644
--- a/Mac/Include/pythonresources.h
+++ b/Mac/Include/pythonresources.h
@@ -68,9 +68,11 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#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_KEEPALWAYS 8
+#define OPT_KEEPOUTPUT 9
+#define OPT_KEEPERROR 10
+#define OPT_KEEPNEVER 11
+#define OPT_CMDLINE 12
#define OPT_TABWARN 13
#define OPT_NOSITE 14
#define OPT_HELP 15
@@ -134,17 +136,12 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* The Python options resource and offset of its members */
#define PYTHONOPTIONS_ID 228
#define PYTHONOPTIONSOVERRIDE_ID 229
-#if 0
-#define POPT_INSPECT 0
-#define POPT_VERBOSE 1
-#define POPT_OPTIMIZE 2
-#define POPT_UNBUFFERED 3
-#define POPT_DEBUGGING 4
-#define POPT_KEEPNORM 5
-#define POPT_KEEPERR 6
-#endif
-#define POPT_VERSION_CURRENT 5 /* Current version number */
+#define POPT_VERSION_CURRENT 6 /* Current version number */
+#define POPT_KEEPCONSOLE_NEVER 0
+#define POPT_KEEPCONSOLE_OUTPUT 1
+#define POPT_KEEPCONSOLE_ERROR 2
+#define POPT_KEEPCONSOLE_ALWAYS 3
#ifndef rez
typedef struct PyMac_PrefRecord {
@@ -154,8 +151,8 @@ typedef struct PyMac_PrefRecord {
unsigned char optimize;
unsigned char unbuffered;
unsigned char debugging;
- unsigned char keep_normal;
- unsigned char keep_error;
+ unsigned char unused;
+ unsigned char keep_console;
unsigned char nointopt;
unsigned char noargs;
unsigned char tabwarn;