diff options
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_Iterator.h')
-rw-r--r-- | source/blender/freestyle/intern/python/BPy_Iterator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_Iterator.h b/source/blender/freestyle/intern/python/BPy_Iterator.h index 162df60d91e..0bdb52ef9a5 100644 --- a/source/blender/freestyle/intern/python/BPy_Iterator.h +++ b/source/blender/freestyle/intern/python/BPy_Iterator.h @@ -1,6 +1,8 @@ #ifndef FREESTYLE_PYTHON_ITERATOR_H #define FREESTYLE_PYTHON_ITERATOR_H +#include <Python.h> + #include "../system/Iterator.h" #ifdef __cplusplus @@ -9,8 +11,6 @@ extern "C" { /////////////////////////////////////////////////////////////////////////////////////////// -#include <Python.h> - extern PyTypeObject Iterator_Type; #define BPy_Iterator_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &Iterator_Type) ) |