summaryrefslogtreecommitdiffstats
path: root/Mac/Include/pythonresources.h
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1996-04-04 15:39:42 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1996-04-04 15:39:42 (GMT)
commitab69eb967304400af6d18e330803309704c27c00 (patch)
tree496d0f899474ca32661ae4a80e296a1b390232e7 /Mac/Include/pythonresources.h
parenta486a55f59a0b45d8a0bc3ae38beae3a6e3b7bb5 (diff)
downloadcpython-ab69eb967304400af6d18e330803309704c27c00.zip
cpython-ab69eb967304400af6d18e330803309704c27c00.tar.gz
cpython-ab69eb967304400af6d18e330803309704c27c00.tar.bz2
Added resource-ids for override preferences.
Diffstat (limited to 'Mac/Include/pythonresources.h')
-rw-r--r--Mac/Include/pythonresources.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Mac/Include/pythonresources.h b/Mac/Include/pythonresources.h
index 4a69d5d..93e046b 100644
--- a/Mac/Include/pythonresources.h
+++ b/Mac/Include/pythonresources.h
@@ -58,17 +58,23 @@
/*
** The following are valid both in the binary (or shared library)
-** and in the Preferences file
+** and in the Preferences file.
+** For all three the override is tried first, through all current
+** resource files. This allows an applet to override standard settings
+** by providing a resource of the correct type.
*/
/* The STR# resource for sys.path initialization */
#define PYTHONPATH_ID 128
+#define PYTHONPATHOVERRIDE_ID 129
/* The alis resource for locating the python home directory */
#define PYTHONHOME_ID 128
+#define PYTHONHOMEOVERRIDE_ID 129
/* The Python options resource and offset of its members */
#define PYTHONOPTIONS_ID 128
+#define PYTHONOPTIONSOVERRIDE_ID 129
#define POPT_INSPECT 0
#define POPT_VERBOSE 1
#define POPT_SUPPRESS 2