Mercurial > cpython-lru_cache-weakref
comparison Mac/Include/pythonresources.h @ 25181:8a6f54b76343 legacy-trunk
Added include guards and C++ extern "C" {} constructs. Partial fix for #607253.
Bugfix candidate.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Tue, 10 Sep 2002 12:32:47 +0000 |
| parents | f4af27cb2632 |
| children | 40f8b648e765 |
comparison
equal
deleted
inserted
replaced
| 25180:24fe2ac5adcc | 25181:8a6f54b76343 |
|---|---|
| 38 | 38 |
| 39 /* | 39 /* |
| 40 ** Resources that reside in the python executable (or, for | 40 ** Resources that reside in the python executable (or, for |
| 41 ** shared ppc python, in the core dynamic library) | 41 ** shared ppc python, in the core dynamic library) |
| 42 */ | 42 */ |
| 43 #ifndef Py_PYTHONRESOURCES_H | |
| 44 #define Py_PYTHONRESOURCES_H | |
| 45 | |
| 46 #ifdef __cplusplus | |
| 47 extern "C" { | |
| 48 #endif | |
| 43 | 49 |
| 44 #define BASE_ID 228 | 50 #define BASE_ID 228 |
| 45 | 51 |
| 46 /* The alert for "No Python directory, where is it?" (OBSOLETE) */ | 52 /* The alert for "No Python directory, where is it?" (OBSOLETE) */ |
| 47 #define NOPYTHON_ALERT BASE_ID+0 | 53 #define NOPYTHON_ALERT BASE_ID+0 |
| 179 void PyMac_PreferenceOptions(PyMac_PrefRecord *); | 185 void PyMac_PreferenceOptions(PyMac_PrefRecord *); |
| 180 char * PyMac_GetPythonDir(void); | 186 char * PyMac_GetPythonDir(void); |
| 181 /* from macmain.c: */ | 187 /* from macmain.c: */ |
| 182 extern PyMac_PrefRecord PyMac_options; | 188 extern PyMac_PrefRecord PyMac_options; |
| 183 #endif | 189 #endif |
| 190 | |
| 191 #ifdef __cplusplus | |
| 192 } | |
| 193 #endif | |
| 194 | |
| 195 #endif |
