diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2000-07-11 19:51:05 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2000-07-11 19:51:05 (GMT) |
commit | d88296d25a07ae5b6d53021a3954e90a3048601c (patch) | |
tree | b8fd8d2f94848384192e3b94c625777fa9d57967 /Mac/Include/macglue.h | |
parent | 4d4daed7cd9f82ae32ad8ffbbf3942abf1049b61 (diff) | |
download | cpython-d88296d25a07ae5b6d53021a3954e90a3048601c.zip cpython-d88296d25a07ae5b6d53021a3954e90a3048601c.tar.gz cpython-d88296d25a07ae5b6d53021a3954e90a3048601c.tar.bz2 |
ANSIfication step 1: get rid of Py_PROTO and Py_FPROTO.
Diffstat (limited to 'Mac/Include/macglue.h')
-rw-r--r-- | Mac/Include/macglue.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Mac/Include/macglue.h b/Mac/Include/macglue.h index a3bfb90..f96b96f 100644 --- a/Mac/Include/macglue.h +++ b/Mac/Include/macglue.h @@ -54,7 +54,7 @@ typedef struct { #endif #ifdef USE_GUSI1 -void PyMac_FixGUSIcd Py_PROTO((void)); /* Workaround for GUSI chdir() call */ +void PyMac_FixGUSIcd(void); /* Workaround for GUSI chdir() call */ extern void PyMac_SetGUSISpin(void); /* Install our private GUSI spin routine */ #endif @@ -69,22 +69,22 @@ extern void PyMac_StopGUSISpin(void); /* Stop eventprocessing during exit() */ 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 Py_PROTO((void)); /* Init the above */ -extern OSErr PyMac_GetFullPath Py_PROTO((FSSpec *, char *)); /* convert fsspec->path (macargv.c) */ -extern int PyMac_GetArgv Py_PROTO((char ***, int)); /* Get argc, argv (from macargv.c) */ +extern OSErr PyMac_init_application_location(void); /* Init the above */ +extern OSErr PyMac_GetFullPath(FSSpec *, char *); /* convert fsspec->path (macargv.c) */ +extern int PyMac_GetArgv(char ***, int); /* Get argc, argv (from macargv.c) */ extern int PyMac_AppearanceCompliant; /* True if in appearance support mode */ extern PyObject *PyMac_OSErrException; /* Exception for OSErr */ PyObject *PyMac_GetOSErrException(void); /* Initialize & return it */ -void PyMac_GetSchedParams Py_PROTO((PyMacSchedParams *)); /* Get schedulers params */ -void PyMac_SetSchedParams Py_PROTO((PyMacSchedParams *)); /* Set schedulers params */ +void PyMac_GetSchedParams(PyMacSchedParams *); /* Get schedulers params */ +void PyMac_SetSchedParams(PyMacSchedParams *); /* Set schedulers params */ PyObject *PyErr_Mac(PyObject *, int); /* Exception with a mac error */ PyObject *PyMac_Error(OSErr); /* Uses PyMac_GetOSErrException */ -int PyMac_DoYield Py_PROTO((int, int)); /* Yield cpu. First arg is maxtime, second ok to call python */ -int PyMac_HandleEvent Py_PROTO((EventRecord *)); /* Handle one event, possibly in Python */ -void PyMac_HandleEventIntern Py_PROTO((EventRecord *)); /* Handle one event internal only */ -int PyMac_SetEventHandler Py_PROTO((PyObject *)); /* set python-coded event handler */ +int PyMac_DoYield(int, int); /* Yield cpu. First arg is maxtime, second ok to call python */ +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 */ void PyMac_InitMenuBar(void); /* Setup menu bar as we want it */ void PyMac_RestoreMenuBar(void); /* Restore menu bar for ease of exiting */ |