diff options
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_Operators.h')
-rw-r--r-- | source/blender/freestyle/intern/python/BPy_Operators.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_Operators.h b/source/blender/freestyle/intern/python/BPy_Operators.h index c6b088415c4..5e01d6bb1fe 100644 --- a/source/blender/freestyle/intern/python/BPy_Operators.h +++ b/source/blender/freestyle/intern/python/BPy_Operators.h @@ -1,6 +1,8 @@ #ifndef FREESTYLE_PYTHON_OPERATORS_H #define FREESTYLE_PYTHON_OPERATORS_H +#include <Python.h> + #include "../stroke/Operators.h" #ifdef __cplusplus @@ -9,8 +11,6 @@ extern "C" { /////////////////////////////////////////////////////////////////////////////////////////// -#include <Python.h> - extern PyTypeObject Operators_Type; #define BPy_Operators_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &Operators_Type) ) |