mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00

- Added GetFSSpec (tuple-style), BuildFSSpec and Pstring (platform-independent correct conversion of C to Pascal strings)
12 lines
564 B
C
12 lines
564 B
C
#include <Files.h>
|
|
#include <Types.h>
|
|
#include <Resources.h>
|
|
|
|
char *macstrerror PROTO((int)); /* strerror with mac errors */
|
|
object *PyErr_Mac PROTO((object *, int)); /* Exception with a mac error */
|
|
int PyMac_Idle PROTO((void)); /* Idle routine */
|
|
int GetOSType PROTO((object *, ResType *)); /* argument parser for OSType */
|
|
int GetStr255 PROTO((object *, Str255)); /* argument parser for Str255 */
|
|
int GetFSSpec PROTO((object *, FSSpec *)); /* argument parser for FSSpec */
|
|
object *PyMac_BuildFSSpec PROTO((FSSpec *)); /* Convert FSSpec to python object */
|
|
|