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/BPy_SShape.h

35 lines
798 B
C++

#ifndef FREESTYLE_PYTHON_SSHAPE_H
#define FREESTYLE_PYTHON_SSHAPE_H
#include "../view_map/Silhouette.h"
#ifdef __cplusplus
extern "C" {
#endif
///////////////////////////////////////////////////////////////////////////////////////////
#include <Python.h>
extern PyTypeObject SShape_Type;
#define BPy_SShape_Check(v) (( (PyObject *) v)->ob_type == &SShape_Type)
/*---------------------------Python BPy_SShape structure definition----------*/
typedef struct {
PyObject_HEAD
SShape *ss;
} BPy_SShape;
/*---------------------------Python BPy_SShape visible prototypes-----------*/
PyMODINIT_FUNC SShape_Init( PyObject *module );
///////////////////////////////////////////////////////////////////////////////////////////
#ifdef __cplusplus
}
#endif
#endif /* FREESTYLE_PYTHON_SSHAPE_H */