diff options
Diffstat (limited to 'Include/iterobject.h')
-rw-r--r-- | Include/iterobject.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Include/iterobject.h b/Include/iterobject.h index bc18991..8abe678 100644 --- a/Include/iterobject.h +++ b/Include/iterobject.h @@ -1,4 +1,9 @@ +#ifndef Py_ITEROBJECT_H +#define Py_ITEROBJECT_H /* Iterators (the basic kind, over a sequence) */ +#ifdef __cplusplus +extern "C" { +#endif extern DL_IMPORT(PyTypeObject) PySeqIter_Type; @@ -11,3 +16,8 @@ extern DL_IMPORT(PyTypeObject) PyCallIter_Type; #define PyCallIter_Check(op) ((op)->ob_type == &PyCallIter_Type) extern DL_IMPORT(PyObject *) PyCallIter_New(PyObject *, PyObject *); +#ifdef __cplusplus +} +#endif +#endif /* !Py_ITEROBJECT_H */ + |