soc-2008-mxcurioni: first version of lib3ds code. It does NOT work yet and has to...
[blender.git] / source / blender / freestyle / intern / python / BPy_FrsMaterial.h
1 #ifndef FREESTYLE_PYTHON_FRSMATERIAL_H
2 #define FREESTYLE_PYTHON_FRSMATERIAL_H
3
4 #include "../scene_graph/FrsMaterial.h"
5
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9
10 ///////////////////////////////////////////////////////////////////////////////////////////
11
12 #include <Python.h>
13
14 extern PyTypeObject FrsMaterial_Type;
15
16 #define BPy_FrsMaterial_Check(v)        (  PyObject_IsInstance( (PyObject *) v, (PyObject *) &FrsMaterial_Type)  )
17
18 /*---------------------------Python BPy_FrsMaterial structure definition----------*/
19 typedef struct {
20         PyObject_HEAD
21         FrsMaterial *m;
22 } BPy_FrsMaterial;
23
24 /*---------------------------Python BPy_FrsMaterial visible prototypes-----------*/
25
26 PyMODINIT_FUNC FrsMaterial_Init( PyObject *module );
27
28
29 ///////////////////////////////////////////////////////////////////////////////////////////
30
31 #ifdef __cplusplus
32 }
33 #endif
34
35
36 #endif /* FREESTYLE_PYTHON_FRSMATERIAL_H */