#ifndef FREESTYLE_PYTHON_CURVEPOINT_H #define FREESTYLE_PYTHON_CURVEPOINT_H #include "../BPy_Interface0D.h" #include "../../stroke/Curve.h" #ifdef __cplusplus extern "C" { #endif /////////////////////////////////////////////////////////////////////////////////////////// #include 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 */