Skip to content

Commit f22e67d

Browse files
committed
Added prototypes for the code resource routines, and for Pstring
(which was missing, for some reason).
1 parent ac82b6a commit f22e67d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Mac/Include/macbuildno.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#define BUILD 37
1+
#define BUILD 39

Mac/Include/macglue.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ void PyMac_FixGUSIcd Py_PROTO((void)); /* Workaround for GUSI chdir() call */
5454
#endif
5555

5656
char *PyMac_StrError(int); /* strerror with mac errors */
57+
unsigned char *Pstring(char *str); /* Convert c-string to pascal-string in static buffer */
5758

5859
#ifdef USE_GUSI
5960
extern int PyMac_ConsoleIsDead; /* True when exiting */
@@ -84,6 +85,8 @@ void PyMac_RestoreMenuBar(void); /* Restore menu bar for ease of exiting */
8485

8586
int PyMac_FindResourceModule(PyStringObject *, char *, char *); /* Test for 'PYC ' resource in a file */
8687
PyObject * PyMac_LoadResourceModule(char *, char *); /* Load 'PYC ' resource from file */
88+
int PyMac_FindCodeResourceModule(PyStringObject *, char *, char *); /* Test for 'PYD ' resource in a file */
89+
PyObject * PyMac_LoadCodeResourceModule(char *, char *); /* Load 'PYD ' resource from file */
8790
struct filedescr *PyMac_FindModuleExtension(char *, int *, char *); /* Look for module in single folder */
8891

8992
int PyMac_GetDirectory(FSSpec *dirfss, char *prompt); /* Ask user for a directory */

0 commit comments

Comments
 (0)