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-10-12 06:19:37 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-10-12 06:19:37 +0400
commitb6db417ee466c6aec5d412a259a6dc7c0b4c1750 (patch)
treeca86ca90c7868f92d3c795c8d1f6a968dade6760 /source/blender/python/mathutils/mathutils_Vector.h
parent744f691af42ffeadd306180048c51edad65a5f06 (diff)
code cleanup: use const's for vector args.
Diffstat (limited to 'source/blender/python/mathutils/mathutils_Vector.h')
-rw-r--r--source/blender/python/mathutils/mathutils_Vector.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/mathutils/mathutils_Vector.h b/source/blender/python/mathutils/mathutils_Vector.h
index 18d89e73734..2074270670a 100644
--- a/source/blender/python/mathutils/mathutils_Vector.h
+++ b/source/blender/python/mathutils/mathutils_Vector.h
@@ -41,6 +41,6 @@ typedef struct {
PyObject *Vector_CreatePyObject(float *vec, const int size, const int type, PyTypeObject *base_type);
PyObject *Vector_CreatePyObject_cb(PyObject *user, int size,
unsigned char cb_type, unsigned char subtype);
-PyObject *Vector_CreatePyObject_alloc(float *vec, const int size, PyTypeObject *base_type);
+PyObject *Vector_CreatePyObject_alloc(const float *vec, const int size, PyTypeObject *base_type);
-#endif /* __MATHUTILS_VECTOR_H__ */
+#endif /* __MATHUTILS_VECTOR_H__ */