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

@@ -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__ */