diff options
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_Interface1D.h')
-rw-r--r-- | source/blender/freestyle/intern/python/BPy_Interface1D.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_Interface1D.h b/source/blender/freestyle/intern/python/BPy_Interface1D.h index 204eb84d87b..db9bfa7f79c 100644 --- a/source/blender/freestyle/intern/python/BPy_Interface1D.h +++ b/source/blender/freestyle/intern/python/BPy_Interface1D.h @@ -37,20 +37,19 @@ extern "C" { extern PyTypeObject Interface1D_Type; -#define BPy_Interface1D_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&Interface1D_Type)) +#define BPy_Interface1D_Check(v) \ + (PyObject_IsInstance((PyObject *)v, (PyObject *)&Interface1D_Type)) /*---------------------------Python BPy_Interface1D structure definition----------*/ typedef struct { - PyObject_HEAD - Interface1D *if1D; - bool borrowed; /* true if *if1D is a borrowed object */ + PyObject_HEAD Interface1D *if1D; + bool borrowed; /* true if *if1D is a borrowed object */ } BPy_Interface1D; /*---------------------------Python BPy_Interface1D visible prototypes-----------*/ int Interface1D_Init(PyObject *module); - /////////////////////////////////////////////////////////////////////////////////////////// #ifdef __cplusplus |