Mercurial > cpython-lru_cache-weakref
diff Mac/Include/pythonresources.h @ 10038:ba03e68df0fd legacy-trunk
Added pascal-style string name of preference file resource, and bracketed
C struct declarations with #ifndef rez
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Sat, 30 Jan 1999 13:21:24 +0000 |
| parents | fa85a7fd740b |
| children | f83b74273da2 |
line wrap: on
line diff
--- a/Mac/Include/pythonresources.h Sat Jan 30 04:35:47 1999 +0000 +++ b/Mac/Include/pythonresources.h Sat Jan 30 13:21:24 1999 +0000 @@ -116,7 +116,8 @@ */ /* The STR resource that holds the preference file name */ -/* #define PREFFILENAME_ID 228 */ +#define PREFFILENAME_ID 228 /* For Rez only */ +#define PREFFILENAME_PASCAL_NAME "PythonPreferenceFileName" #define PREFFILENAME_NAME "\pPythonPreferenceFileName" /* The STR# resource for sys.path initialization */ @@ -142,6 +143,7 @@ #define POPT_VERSION_CURRENT 4 /* Current version number */ +#ifndef rez typedef struct PyMac_PrefRecord { unsigned char version; unsigned char inspect; @@ -156,11 +158,14 @@ unsigned char oldexc; unsigned char nosite; } PyMac_PrefRecord; +#endif /* The GUSI options resources */ #define GUSIOPTIONS_ID 10240 #define GUSIOPTIONSOVERRIDE_ID 10241 +#ifndef rez /* From macgetpath.c: */ void PyMac_PreferenceOptions Py_PROTO((PyMac_PrefRecord *)); char * PyMac_GetPythonDir Py_PROTO((void)); +#endif \ No newline at end of file
