42 lines
929 B
C++
42 lines
929 B
C++
#ifndef FREESTYLE_PYTHON_STROKESHADER_H
|
|
#define FREESTYLE_PYTHON_STROKESHADER_H
|
|
|
|
|
|
#include "../system/FreestyleConfig.h"
|
|
|
|
using namespace std;
|
|
|
|
#include "../stroke/StrokeShader.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
#include <Python.h>
|
|
|
|
extern PyTypeObject StrokeShader_Type;
|
|
|
|
#define BPy_StrokeShader_Check(v) (( (PyObject *) v)->ob_type == &StrokeShader_Type)
|
|
|
|
/*---------------------------Python BPy_StrokeShader structure definition----------*/
|
|
typedef struct {
|
|
PyObject_HEAD
|
|
StrokeShader *ss;
|
|
} BPy_StrokeShader;
|
|
|
|
/*---------------------------Python BPy_StrokeShader visible prototypes-----------*/
|
|
|
|
PyMODINIT_FUNC StrokeShader_Init( PyObject *module );
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
#endif /* FREESTYLE_PYTHON_STROKESHADER_H */
|