Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-12-17 08:41:03 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-12-17 09:40:06 +0400
commitb3ea4ec90cad7362421e34f2a8f1b8b84f31a9f6 (patch)
treebf0f373b1c4870e32870296a0b8b00f33f9f87be /source/blender/freestyle/intern/python/BPy_Convert.h
parentcda89813dfc2261cd65822d26df8061a3097c85e (diff)
Py API: use direct access to list/tuple size when type is known
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_Convert.h')
-rw-r--r--source/blender/freestyle/intern/python/BPy_Convert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_Convert.h b/source/blender/freestyle/intern/python/BPy_Convert.h
index a8bc7eaa306..b7e798dfa63 100644
--- a/source/blender/freestyle/intern/python/BPy_Convert.h
+++ b/source/blender/freestyle/intern/python/BPy_Convert.h
@@ -165,7 +165,7 @@ bool Vec2f_ptr_from_PyTuple(PyObject *obj, Vec2f *vec);
bool Vec3f_ptr_from_PyTuple(PyObject *obj, Vec3f *vec);
bool Vec3r_ptr_from_PyTuple(PyObject *obj, Vec3r *vec);
-int float_array_from_PyObject(PyObject *obj, float *v, int n);
+bool float_array_from_PyObject(PyObject *obj, float *v, int n);
///////////////////////////////////////////////////////////////////////////////////////////