Changeset View
Changeset View
Standalone View
Standalone View
source/blender/freestyle/intern/python/Interface1D/BPy_Stroke.h
| Show All 31 Lines | |||||
| extern PyTypeObject Stroke_Type; | extern PyTypeObject Stroke_Type; | ||||
| #define BPy_Stroke_Check(v) (((PyObject *)v)->ob_type == &Stroke_Type) | #define BPy_Stroke_Check(v) (((PyObject *)v)->ob_type == &Stroke_Type) | ||||
| /*---------------------------Python BPy_Stroke structure definition----------*/ | /*---------------------------Python BPy_Stroke structure definition----------*/ | ||||
| typedef struct { | typedef struct { | ||||
| BPy_Interface1D py_if1D; | BPy_Interface1D py_if1D; | ||||
| Stroke *s; | Freestyle::Stroke *s; | ||||
| } BPy_Stroke; | } BPy_Stroke; | ||||
| /////////////////////////////////////////////////////////////////////////////////////////// | /////////////////////////////////////////////////////////////////////////////////////////// | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||