diff options
Diffstat (limited to 'source/blender/freestyle/intern/python/Interface0D/ViewVertex.h')
-rw-r--r-- | source/blender/freestyle/intern/python/Interface0D/ViewVertex.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/python/Interface0D/ViewVertex.h b/source/blender/freestyle/intern/python/Interface0D/ViewVertex.h new file mode 100644 index 00000000000..b869df377fc --- /dev/null +++ b/source/blender/freestyle/intern/python/Interface0D/ViewVertex.h @@ -0,0 +1,33 @@ +#ifndef FREESTYLE_PYTHON_VIEWVERTEX_H +#define FREESTYLE_PYTHON_VIEWVERTEX_H + +#include "../../view_map/ViewMap.h" +#include "../Interface0D.h" + + +#ifdef __cplusplus +extern "C" { +#endif + +/////////////////////////////////////////////////////////////////////////////////////////// + +#include <Python.h> + +extern PyTypeObject ViewVertex_Type; + +#define BPy_ViewVertex_Check(v) \ + ((v)->ob_type == &ViewVertex_Type) + +/*---------------------------Python BPy_ViewVertex structure definition----------*/ +typedef struct { + BPy_Interface0D py_if0D; + ViewVertex *vv; +} BPy_ViewVertex; + +/////////////////////////////////////////////////////////////////////////////////////////// + +#ifdef __cplusplus +} +#endif + +#endif /* FREESTYLE_PYTHON_VIEWVERTEX_H */ |