mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +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
|
@ -1,7 +1,8 @@
|
|||
/*
|
||||
** pymactoolbox.h - globals defined in mactoolboxglue.c
|
||||
*/
|
||||
|
||||
#ifndef Py_PYMACTOOLBOX_H
|
||||
#define Py_PYMACTOOLBOX_H
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@ -197,3 +198,4 @@ extern int OptionalCFURLRefObj_Convert(PyObject *, CFURLRef *);
|
|||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue