diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1998-07-13 13:39:34 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1998-07-13 13:39:34 (GMT) |
commit | f22e67dcb5c6ce3d08e56f62b337390198ffee54 (patch) | |
tree | 614bc93811a5d9c85422666e9d9cf99c6aa98f6b /Mac/Include/macglue.h | |
parent | ac82b6a041942de19f11f8929da9a5f9d9597212 (diff) | |
download | cpython-f22e67dcb5c6ce3d08e56f62b337390198ffee54.zip cpython-f22e67dcb5c6ce3d08e56f62b337390198ffee54.tar.gz cpython-f22e67dcb5c6ce3d08e56f62b337390198ffee54.tar.bz2 |
Added prototypes for the code resource routines, and for Pstring
(which was missing, for some reason).
Diffstat (limited to 'Mac/Include/macglue.h')
-rw-r--r-- | Mac/Include/macglue.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Mac/Include/macglue.h b/Mac/Include/macglue.h index 3f19548..ffd11e1 100644 --- a/Mac/Include/macglue.h +++ b/Mac/Include/macglue.h @@ -54,6 +54,7 @@ void PyMac_FixGUSIcd Py_PROTO((void)); /* Workaround for GUSI chdir() call */ #endif char *PyMac_StrError(int); /* strerror with mac errors */ +unsigned char *Pstring(char *str); /* Convert c-string to pascal-string in static buffer */ #ifdef USE_GUSI extern int PyMac_ConsoleIsDead; /* True when exiting */ @@ -84,6 +85,8 @@ void PyMac_RestoreMenuBar(void); /* Restore menu bar for ease of exiting */ 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 *, int *, char *); /* Look for module in single folder */ int PyMac_GetDirectory(FSSpec *dirfss, char *prompt); /* Ask user for a directory */ |