Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c6bb281

Browse files
committed
Added old-exceptions and no-site-python options and upped preference
version to 4. Added balloon-help item to options dialog.
1 parent 1c0d851 commit c6bb281

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

Mac/Include/pythonresources.h

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,15 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
6262
#define OPT_CANCEL 2
6363
#define OPT_INSPECT 3
6464
#define OPT_VERBOSE 4
65-
#define OPT_SUPPRESS 5
65+
#define OPT_OPTIMIZE 5
6666
#define OPT_UNBUFFERED 6
6767
#define OPT_DEBUGGING 7
6868
#define OPT_KEEPNORMAL 8
6969
#define OPT_KEEPERROR 9
7070
#define OPT_CMDLINE 10
71+
#define OPT_OLDEXC 13
72+
#define OPT_NOSITE 14
73+
#define OPT_HELP 16
7174

7275
/* Dialog for 'No preferences directory' */
7376
#define NOPREFDIR_ID 133
@@ -126,15 +129,17 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
126129
/* The Python options resource and offset of its members */
127130
#define PYTHONOPTIONS_ID 128
128131
#define PYTHONOPTIONSOVERRIDE_ID 129
132+
#if 0
129133
#define POPT_INSPECT 0
130134
#define POPT_VERBOSE 1
131135
#define POPT_OPTIMIZE 2
132136
#define POPT_UNBUFFERED 3
133137
#define POPT_DEBUGGING 4
134138
#define POPT_KEEPNORM 5
135139
#define POPT_KEEPERR 6
140+
#endif
136141

137-
#define POPT_VERSION_CURRENT 3 /* Current version number */
142+
#define POPT_VERSION_CURRENT 4 /* Current version number */
138143

139144
typedef struct PyMac_PrefRecord {
140145
unsigned char version;
@@ -147,6 +152,8 @@ typedef struct PyMac_PrefRecord {
147152
unsigned char keep_error;
148153
unsigned char nointopt;
149154
unsigned char noargs;
155+
unsigned char oldexc;
156+
unsigned char nosite;
150157
} PyMac_PrefRecord;
151158

152159
/* The GUSI options resources */

0 commit comments

Comments
 (0)