summaryrefslogtreecommitdiffstats
path: root/Mac/Include/pythonresources.h
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Include/pythonresources.h')
-rw-r--r--Mac/Include/pythonresources.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/Mac/Include/pythonresources.h b/Mac/Include/pythonresources.h
index 02607bd..514eb40 100644
--- a/Mac/Include/pythonresources.h
+++ b/Mac/Include/pythonresources.h
@@ -95,13 +95,23 @@
#define POPT_NOINTOPT 7 /* Not settable interactively */
#define POPT_NOARGS 8 /* Not settable interactively */
+typedef struct PyMac_PrefRecord {
+ unsigned char inspect;
+ unsigned char verbose;
+ unsigned char suppress_print;
+ unsigned char unbuffered;
+ unsigned char debugging;
+ unsigned char keep_normal;
+ unsigned char keep_error;
+ unsigned char nointopt;
+ unsigned char noargs;
+} PyMac_PrefRecord;
+
/* The GUSI options resources */
#define GUSIOPTIONS_ID 10240
#define GUSIOPTIONSOVERRIDE_ID 10241
/* From macgetpath.c: */
-void PyMac_PreferenceOptions Py_PROTO((int *inspect, int *verbose, int *suppress_print,
- int *unbuffered, int *debugging, int *keep_normal,
- int *keep_error));
+void PyMac_PreferenceOptions Py_PROTO((PyMac_PrefRecord *));