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:
@@ -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 */
|
||||
Reference in New Issue
Block a user