diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-02-11 01:08:04 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-02-11 01:08:04 (GMT) |
commit | 8a38714ba05a3734f812bb1bbebdc527732a22bc (patch) | |
tree | 90f53048b00a22476549e1ef3c38470fca66e3c7 /Mac/Include | |
parent | 6a9aec47b72cf42bed0f845e751eb243f85b43d6 (diff) | |
download | cpython-8a38714ba05a3734f812bb1bbebdc527732a22bc.zip cpython-8a38714ba05a3734f812bb1bbebdc527732a22bc.tar.gz cpython-8a38714ba05a3734f812bb1bbebdc527732a22bc.tar.bz2 |
Bit the bullet and added a private GUSISIOUX for Python. This makes the delayconsole and keepopen code neater. Also tells Sioux to behave better with events, and handles cmd-. during print better. The pythonpreferences have also changed due to this.
Diffstat (limited to 'Mac/Include')
-rw-r--r-- | Mac/Include/macglue.h | 2 | ||||
-rw-r--r-- | Mac/Include/pythonresources.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Mac/Include/macglue.h b/Mac/Include/macglue.h index 372871e..fa61709 100644 --- a/Mac/Include/macglue.h +++ b/Mac/Include/macglue.h @@ -130,6 +130,8 @@ int PyMac_setfiletype(char *, long, long); /* Set file creator and type */ void PyMac_Exit(int); void PyMac_InitApplication(void); void PyMac_OutputSeen(void); +void PyMac_OutputNotSeen(void); +int PyMac_GetDelayConsoleFlag(void); #ifdef USE_MAC_APPLET_SUPPORT void PyMac_InitApplet(void); #endif diff --git a/Mac/Include/pythonresources.h b/Mac/Include/pythonresources.h index 9bb8998..29026a8 100644 --- a/Mac/Include/pythonresources.h +++ b/Mac/Include/pythonresources.h @@ -137,7 +137,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #define PYTHONOPTIONS_ID 228 #define PYTHONOPTIONSOVERRIDE_ID 229 -#define POPT_VERSION_CURRENT 6 /* Current version number */ +#define POPT_VERSION_CURRENT 7 /* Current version number */ #define POPT_KEEPCONSOLE_NEVER 0 #define POPT_KEEPCONSOLE_OUTPUT 1 #define POPT_KEEPCONSOLE_ERROR 2 @@ -158,6 +158,7 @@ typedef struct PyMac_PrefRecord { unsigned char tabwarn; unsigned char nosite; unsigned char nonavservice; + unsigned char delayconsole; } PyMac_PrefRecord; #endif |