code cleanup: use const's for vector args.

This commit is contained in:
2013-10-12 02:19:37 +00:00
parent 744f691af4
commit b6db417ee4
15 changed files with 25 additions and 24 deletions

View File

@@ -707,7 +707,7 @@ PyTypeObject euler_Type = {
* (i.e. it was allocated elsewhere by MEM_mallocN())
* pass Py_NEW - if vector is not a WRAPPER and managed by PYTHON
* (i.e. it must be created here with PyMEM_malloc())*/
PyObject *Euler_CreatePyObject(float *eul, const short order, int type, PyTypeObject *base_type)
PyObject *Euler_CreatePyObject(float eul[3], const short order, int type, PyTypeObject *base_type)
{
EulerObject *self;