soc-2008-mxcurioni: Added first batch of Iterators: AdjacencyIterator, Interface0DIt...
[blender-staging.git] / source / blender / freestyle / intern / python / Iterator / BPy_SVertexIterator.h
1 #ifndef FREESTYLE_PYTHON_SVERTEXITERATOR_H
2 #define FREESTYLE_PYTHON_SVERTEXITERATOR_H
3
4 #include "../../view_map/ViewMapIterators.h"
5 using namespace ViewEdgeInternal;
6
7 #include "../BPy_Iterator.h"
8
9
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13
14 ///////////////////////////////////////////////////////////////////////////////////////////
15
16 #include <Python.h>
17
18 extern PyTypeObject SVertexIterator_Type;
19
20 #define BPy_SVertexIterator_Check(v)    (( (PyObject *) v)->ob_type == &SVertexIterator_Type)
21
22 /*---------------------------Python BPy_SVertexIterator structure definition----------*/
23 typedef struct {
24         BPy_Iterator py_it;
25         SVertexIterator *sv_it;
26 } BPy_SVertexIterator;
27
28 ///////////////////////////////////////////////////////////////////////////////////////////
29
30 #ifdef __cplusplus
31 }
32 #endif
33
34 #endif /* FREESTYLE_PYTHON_SVERTEXITERATOR_H */