diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-10-12 06:19:37 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-10-12 06:19:37 +0400 |
commit | b6db417ee466c6aec5d412a259a6dc7c0b4c1750 (patch) | |
tree | ca86ca90c7868f92d3c795c8d1f6a968dade6760 /source/blender/python/mathutils/mathutils_Vector.h | |
parent | 744f691af42ffeadd306180048c51edad65a5f06 (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.h | 4 |
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__ */ |