Files
test2/source/blender/freestyle/intern/python/Interface0D/BPy_CurvePoint.h

32 lines
769 B
C
Raw Normal View History

#ifndef FREESTYLE_PYTHON_CURVEPOINT_H
#define FREESTYLE_PYTHON_CURVEPOINT_H
#include "../BPy_Interface0D.h"
#include "../../stroke/Curve.h"
#ifdef __cplusplus
extern "C" {
#endif
///////////////////////////////////////////////////////////////////////////////////////////
#include <Python.h>
extern PyTypeObject CurvePoint_Type;
#define BPy_CurvePoint_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &CurvePoint_Type) )
/*---------------------------Python BPy_CurvePoint structure definition----------*/
typedef struct {
BPy_Interface0D py_if0D;
CurvePoint *cp;
} BPy_CurvePoint;
///////////////////////////////////////////////////////////////////////////////////////////
#ifdef __cplusplus
}
#endif
#endif /* FREESTYLE_PYTHON_CURVEPOINT_H */