summaryrefslogtreecommitdiffstats
path: root/Mac/Include
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-11-20 01:44:59 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-11-20 01:44:59 (GMT)
commiteddc1449bae39414aaf7a4f63ccd3b69c4fb069e (patch)
treecaaeed5da8c9755c4cc1d8ebf8da2f0608262c56 /Mac/Include
parent4bae2d5e46b5135dba523616fd0960fc915eb120 (diff)
downloadcpython-eddc1449bae39414aaf7a4f63ccd3b69c4fb069e.zip
cpython-eddc1449bae39414aaf7a4f63ccd3b69c4fb069e.tar.gz
cpython-eddc1449bae39414aaf7a4f63ccd3b69c4fb069e.tar.bz2
Getting rid of all the code inside #ifdef macintosh too.
Diffstat (limited to 'Mac/Include')
-rw-r--r--Mac/Include/macglue.h48
1 files changed, 0 insertions, 48 deletions
diff --git a/Mac/Include/macglue.h b/Mac/Include/macglue.h
index 799da10..7fd5154 100644
--- a/Mac/Include/macglue.h
+++ b/Mac/Include/macglue.h
@@ -31,56 +31,8 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
extern "C" {
#endif
-/* Scheduler parameters */
-typedef struct {
- int check_interrupt; /* if true check for command-dot */
- int process_events; /* if nonzero enable evt processing, this mask */
- int besocial; /* Be social, give up CPU now and again */
- double check_interval; /* how often to check */
- double bg_yield; /* yield at most so long when in background */
-} PyMacSchedParams;
-
-unsigned char *Pstring(char *str); /* Convert c-string to pascal-string in static buffer */
-
-extern short PyMac_AppRefNum; /* RefNum of application rsrcfork (from macmain.c) */
-extern FSSpec PyMac_ApplicationFSSpec; /* Application location (from macargv.c) */
-extern char PyMac_ApplicationPath[]; /* Application location (from macargv.c) */
-extern OSErr PyMac_init_application_location(void); /* Init the above */
-extern int PyMac_GetArgv(char ***, int); /* Get argc, argv (from macargv.c) */
-
extern PyObject *PyMac_OSErrException; /* Exception for OSErr */
PyObject *PyMac_GetOSErrException(void); /* Initialize & return it */
-
-int PyMac_HandleEvent(EventRecord *); /* Handle one event, possibly in Python */
-void PyMac_HandleEventIntern(EventRecord *); /* Handle one event internal only */
-int PyMac_SetEventHandler(PyObject *); /* set python-coded event handler */
-
-int PyMac_FindResourceModule(PyStringObject *, char *, char *); /* Test for 'PYC ' resource in a file */
-PyObject * PyMac_LoadResourceModule(char *, char *); /* Load 'PYC ' resource from file */
-int PyMac_FindCodeResourceModule(PyStringObject *, char *, char *); /* Test for 'PYD ' resource in a file */
-PyObject * PyMac_LoadCodeResourceModule(char *, char *); /* Load 'PYD ' resource from file */
-struct filedescr *PyMac_FindModuleExtension(char *, size_t *, char *); /* Look for module in single folder */
-
-void PyMac_InitApplet(void); /* Initialize and run an Applet */
-void PyMac_Initialize(void); /* Initialize function for embedding Python */
-
-
-/* From macfiletype.c: */
-
-long PyMac_getfiletype(char *); /* Get file type */
-int PyMac_setfiletype(char *, long, long); /* Set file creator and type */
-
-/* from macmain.c: */
-void PyMac_Exit(int);
-void PyMac_InitApplication(void);
-void PyMac_OutputSeen(void);
-void PyMac_OutputNotSeen(void);
-int PyMac_GetDelayConsoleFlag(void);
-
-/* from macgetargv: */
-OSErr PyMac_init_process_location(void);
-char * strdup(const char *str);
-
#ifdef __cplusplus
}
#endif