mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Added include guards and C++ extern "C" {} constructs. Partial fix for #607253.
Bugfix candidate.
This commit is contained in:
parent
2575022aef
commit
47ec141963
5 changed files with 40 additions and 2 deletions
|
@ -40,6 +40,12 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
** Resources that reside in the python executable (or, for
|
||||
** shared ppc python, in the core dynamic library)
|
||||
*/
|
||||
#ifndef Py_PYTHONRESOURCES_H
|
||||
#define Py_PYTHONRESOURCES_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define BASE_ID 228
|
||||
|
||||
|
@ -181,3 +187,9 @@ char * PyMac_GetPythonDir(void);
|
|||
/* from macmain.c: */
|
||||
extern PyMac_PrefRecord PyMac_options;
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue