This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.h
Maxime Curioni a9789d90ae 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.
2008-07-23 07:56:08 +00:00

33 lines
725 B
C++

#ifndef FREESTYLE_PYTHON_SVERTEX_H
#define FREESTYLE_PYTHON_SVERTEX_H
#include "../../view_map/Silhouette.h"
#include "../BPy_Interface0D.h"
#ifdef __cplusplus
extern "C" {
#endif
///////////////////////////////////////////////////////////////////////////////////////////
#include <Python.h>
extern PyTypeObject SVertex_Type;
#define BPy_SVertex_Check(v) (( (PyObject *) v)->ob_type == &SVertex_Type)
/*---------------------------Python BPy_SVertex structure definition----------*/
typedef struct {
BPy_Interface0D py_if0D;
SVertex *sv;
} BPy_SVertex;
///////////////////////////////////////////////////////////////////////////////////////////
#ifdef __cplusplus
}
#endif
#endif /* FREESTYLE_PYTHON_SVERTEX_H */