diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-03-08 03:17:23 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-03-08 03:17:23 +0400 |
commit | 4a92d82626980d6d1690113b9d27aae282fd48eb (patch) | |
tree | d690f59c72441272ed462fe59d416a9a255d087e /source/blender/freestyle/intern/python/BPy_Convert.h | |
parent | b4b22699850a859d601bb4851d0af18f568b3061 (diff) |
A big code clean-up patch from Bastien Montagne, many thanks!
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_Convert.h')
-rw-r--r-- | source/blender/freestyle/intern/python/BPy_Convert.h | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_Convert.h b/source/blender/freestyle/intern/python/BPy_Convert.h index 187af216685..20ab9d0d15d 100644 --- a/source/blender/freestyle/intern/python/BPy_Convert.h +++ b/source/blender/freestyle/intern/python/BPy_Convert.h @@ -137,9 +137,11 @@ PyObject * BPy_ViewShape_from_ViewShape(ViewShape& vs); PyObject * BPy_AdjacencyIterator_from_AdjacencyIterator(AdjacencyIterator& a_it); PyObject * BPy_Interface0DIterator_from_Interface0DIterator(Interface0DIterator& if0D_it, int reversed); PyObject * BPy_CurvePointIterator_from_CurvePointIterator(CurveInternal::CurvePointIterator& cp_it); -PyObject * BPy_StrokeVertexIterator_from_StrokeVertexIterator(StrokeInternal::StrokeVertexIterator& sv_it, int reversed); +PyObject * BPy_StrokeVertexIterator_from_StrokeVertexIterator(StrokeInternal::StrokeVertexIterator& sv_it, + int reversed); PyObject * BPy_SVertexIterator_from_SVertexIterator(ViewEdgeInternal::SVertexIterator& sv_it); -PyObject * BPy_orientedViewEdgeIterator_from_orientedViewEdgeIterator(ViewVertexInternal::orientedViewEdgeIterator& ove_it, int reversed); +PyObject * BPy_orientedViewEdgeIterator_from_orientedViewEdgeIterator(ViewVertexInternal::orientedViewEdgeIterator& ove_it, + int reversed); PyObject * BPy_ViewEdgeIterator_from_ViewEdgeIterator(ViewEdgeInternal::ViewEdgeIterator& ve_it); PyObject * BPy_ChainingIterator_from_ChainingIterator(ChainingIterator& c_it); PyObject * BPy_ChainPredicateIterator_from_ChainPredicateIterator(ChainPredicateIterator& cp_it); @@ -150,23 +152,23 @@ PyObject * BPy_ChainSilhouetteIterator_from_ChainSilhouetteIterator(ChainSilhoue //============================== bool bool_from_PyBool(PyObject *b); -IntegrationType IntegrationType_from_BPy_IntegrationType(PyObject* obj); -Stroke::MediumType MediumType_from_BPy_MediumType(PyObject* obj); -Nature::EdgeNature EdgeNature_from_BPy_Nature(PyObject* obj); -Vec2f * Vec2f_ptr_from_PyObject(PyObject* obj); -Vec3f * Vec3f_ptr_from_PyObject(PyObject* obj); -Vec3r * Vec3r_ptr_from_PyObject(PyObject* obj); -Vec2f * Vec2f_ptr_from_Vector(PyObject* obj); -Vec3f * Vec3f_ptr_from_Vector(PyObject* obj); -Vec3r * Vec3r_ptr_from_Vector(PyObject* obj); -Vec3f * Vec3f_ptr_from_Color(PyObject* obj); -Vec3r * Vec3r_ptr_from_Color(PyObject* obj); -Vec2f * Vec2f_ptr_from_PyList(PyObject* obj); -Vec3f * Vec3f_ptr_from_PyList(PyObject* obj); -Vec3r * Vec3r_ptr_from_PyList(PyObject* obj); -Vec2f * Vec2f_ptr_from_PyTuple(PyObject* obj); -Vec3f * Vec3f_ptr_from_PyTuple(PyObject* obj); -Vec3r * Vec3r_ptr_from_PyTuple(PyObject* obj); +IntegrationType IntegrationType_from_BPy_IntegrationType(PyObject *obj); +Stroke::MediumType MediumType_from_BPy_MediumType(PyObject *obj); +Nature::EdgeNature EdgeNature_from_BPy_Nature(PyObject *obj); +Vec2f * Vec2f_ptr_from_PyObject(PyObject *obj); +Vec3f * Vec3f_ptr_from_PyObject(PyObject *obj); +Vec3r * Vec3r_ptr_from_PyObject(PyObject *obj); +Vec2f * Vec2f_ptr_from_Vector(PyObject *obj); +Vec3f * Vec3f_ptr_from_Vector(PyObject *obj); +Vec3r * Vec3r_ptr_from_Vector(PyObject *obj); +Vec3f * Vec3f_ptr_from_Color(PyObject *obj); +Vec3r * Vec3r_ptr_from_Color(PyObject *obj); +Vec2f * Vec2f_ptr_from_PyList(PyObject *obj); +Vec3f * Vec3f_ptr_from_PyList(PyObject *obj); +Vec3r * Vec3r_ptr_from_PyList(PyObject *obj); +Vec2f * Vec2f_ptr_from_PyTuple(PyObject *obj); +Vec3f * Vec3f_ptr_from_PyTuple(PyObject *obj); +Vec3r * Vec3r_ptr_from_PyTuple(PyObject *obj); int float_array_from_PyObject(PyObject *obj, float *v, int n); |