diff options
Diffstat (limited to 'source/blender/freestyle/intern/python/Nature.h')
-rw-r--r-- | source/blender/freestyle/intern/python/Nature.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/python/Nature.h b/source/blender/freestyle/intern/python/Nature.h new file mode 100644 index 00000000000..d0bc4de6fc0 --- /dev/null +++ b/source/blender/freestyle/intern/python/Nature.h @@ -0,0 +1,34 @@ +#ifndef FREESTYLE_PYTHON_NATURE_H +#define FREESTYLE_PYTHON_NATURE_H + +#include "../winged_edge/Nature.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/////////////////////////////////////////////////////////////////////////////////////////// + +#include <Python.h> + +extern PyTypeObject Nature_Type; + +#define BPy_Nature_Check(v) \ + ((v)->ob_type == &Nature_Type) + +/*---------------------------Python BPy_Nature structure definition----------*/ +typedef struct { + PyIntObject i; +} BPy_Nature; + +/*---------------------------Python BPy_Nature visible prototypes-----------*/ + +PyMODINIT_FUNC Nature_Init( PyObject *module ); + +/////////////////////////////////////////////////////////////////////////////////////////// + +#ifdef __cplusplus +} +#endif + +#endif /* FREESTYLE_PYTHON_NATURE_H */ |