summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1997-09-08 13:24:54 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1997-09-08 13:24:54 (GMT)
commit447e01b04e5bc9fd7f01fe36c4c952324b338aa3 (patch)
tree95e8e7e6978428b2379e27e3f52122a7a0ae1d4d /Mac
parent222c34edc6b942c93dcb0af815618e29fb535836 (diff)
downloadcpython-447e01b04e5bc9fd7f01fe36c4c952324b338aa3.zip
cpython-447e01b04e5bc9fd7f01fe36c4c952324b338aa3.tar.gz
cpython-447e01b04e5bc9fd7f01fe36c4c952324b338aa3.tar.bz2
Preference resource now has a version number
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Include/pythonresources.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/Mac/Include/pythonresources.h b/Mac/Include/pythonresources.h
index af921d2..347a53c 100644
--- a/Mac/Include/pythonresources.h
+++ b/Mac/Include/pythonresources.h
@@ -72,11 +72,11 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* Dialog for 'No preferences directory' */
#define NOPREFDIR_ID 133
-/* Dialog for 'Create preferences file?' */
-#define NOPREFFILE_ID 134
-#define NOPREFFILE_YES 1
-#define NOPREFFILE_NO 2
-
+/* Dialog for 'Bad or outdated preferences' */
+#define BADPREFERENCES_ID 134
+#define BADPREF_DELETE 1
+#define BADPREF_CONTINUE 2
+#define BADPREF_QUIT 3
/* Dialog for 'Bad preference file' */
#define BADPREFFILE_ID 135
@@ -128,18 +128,19 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define PYTHONOPTIONSOVERRIDE_ID 129
#define POPT_INSPECT 0
#define POPT_VERBOSE 1
-#define POPT_SUPPRESS 2
+#define POPT_OPTIMIZE 2
#define POPT_UNBUFFERED 3
#define POPT_DEBUGGING 4
#define POPT_KEEPNORM 5
#define POPT_KEEPERR 6
-#define POPT_NOINTOPT 7 /* Not settable interactively */
-#define POPT_NOARGS 8 /* Not settable interactively */
+
+#define POPT_VERSION_CURRENT 3 /* Current version number */
typedef struct PyMac_PrefRecord {
+ unsigned char version;
unsigned char inspect;
unsigned char verbose;
- unsigned char suppress_print;
+ unsigned char optimize;
unsigned char unbuffered;
unsigned char debugging;
unsigned char keep_normal;
@@ -154,5 +155,4 @@ typedef struct PyMac_PrefRecord {
/* From macgetpath.c: */
void PyMac_PreferenceOptions Py_PROTO((PyMac_PrefRecord *));
-
-
+char * PyMac_GetPythonDir Py_PROTO((void));