soc-2008-mxcurioni: renamed all Freestyle API related files with 'BPy_' prefix to avoid library name collision.

Included MediumType's initialization at proper time to avoid Blender's crash.
This commit is contained in:
Maxime Curioni
2008-07-23 07:56:08 +00:00
parent 0c494442d3
commit a9789d90ae
171 changed files with 132 additions and 113 deletions

View File

@@ -0,0 +1,31 @@
#ifndef FREESTYLE_PYTHON_VIEWVERTEX_H
#define FREESTYLE_PYTHON_VIEWVERTEX_H
#include "../../view_map/ViewMap.h"
#include "../BPy_Interface0D.h"
#ifdef __cplusplus
extern "C" {
#endif
///////////////////////////////////////////////////////////////////////////////////////////
#include <Python.h>
extern PyTypeObject ViewVertex_Type;
#define BPy_ViewVertex_Check(v) (( (PyObject *) v)->ob_type == &ViewVertex_Type)
/*---------------------------Python BPy_ViewVertex structure definition----------*/
typedef struct {
BPy_Interface0D py_if0D;
} BPy_ViewVertex;
///////////////////////////////////////////////////////////////////////////////////////////
#ifdef __cplusplus
}
#endif
#endif /* FREESTYLE_PYTHON_VIEWVERTEX_H */