[Python-checkins] python/dist/src/Mac/Include macglue.h,1.64,1.65
jackjansen at users.sourceforge.net
jackjansen at users.sourceforge.net
Wed Nov 19 20:45:00 EST 2003
- Previous message: [Python-checkins] python/dist/src/Include osdefs.h, 2.15,
2.16 structmember.h, 2.20, 2.21
- Next message: [Python-checkins] python/dist/src/Python ceval.c, 2.372,
2.373 errors.c, 2.80, 2.81 import.c, 2.224, 2.225 pythonrun.c,
2.200, 2.201 strerror.c, 2.11, 2.12 structmember.c, 2.23, 2.24
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Mac/Include
In directory sc8-pr-cvs1:/tmp/cvs-serv1623/Mac/Include
Modified Files:
macglue.h
Log Message:
Getting rid of all the code inside #ifdef macintosh too.
Index: macglue.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Include/macglue.h,v
retrieving revision 1.64
retrieving revision 1.65
diff -C2 -d -r1.64 -r1.65
*** macglue.h 19 Nov 2003 16:34:04 -0000 1.64
--- macglue.h 20 Nov 2003 01:44:58 -0000 1.65
***************
*** 32,85 ****
#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
}
--- 32,37 ----
- Previous message: [Python-checkins] python/dist/src/Include osdefs.h, 2.15,
2.16 structmember.h, 2.20, 2.21
- Next message: [Python-checkins] python/dist/src/Python ceval.c, 2.372,
2.373 errors.c, 2.80, 2.81 import.c, 2.224, 2.225 pythonrun.c,
2.200, 2.201 strerror.c, 2.11, 2.12 structmember.c, 2.23, 2.24
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-checkins
mailing list