]> granicus.if.org Git - python/commitdiff
Added prototypes for the code resource routines, and for Pstring
authorJack Jansen <jack.jansen@cwi.nl>
Mon, 13 Jul 1998 13:39:34 +0000 (13:39 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Mon, 13 Jul 1998 13:39:34 +0000 (13:39 +0000)
(which was missing, for some reason).

Mac/Include/macbuildno.h
Mac/Include/macglue.h

index f07553509c08214f28c0ac78c47ec3c5247fca71..a8315863cb575dfe10d8f4a96ec3025344f4ad19 100644 (file)
@@ -1 +1 @@
-#define BUILD 37
+#define BUILD 39
index 3f19548a5192d63d3be527eaedb445c9b558b8b6..ffd11e144efeba91aefc8fee377eaa0a89f1bb60 100644 (file)
@@ -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 */