Cleanup: match argument names for function & declarations

Match function and declaration names, picking names based on
consistency with related code & clarity.

Also changes for old conventions, missed in previous cleanups:

- name -> filepath
- tname -> newname
- maxlen -> maxncpy
This commit is contained in:
Campbell Barton
2024-07-27 13:20:43 +10:00
parent edb73325c1
commit 111a40239a
88 changed files with 202 additions and 190 deletions

View File

@@ -42,10 +42,10 @@ PyObject *Vector_CreatePyObject_wrap(float *vec,
* Create a vector where the value is defined by registered callbacks,
* see: #Mathutils_RegisterCallback
*/
PyObject *Vector_CreatePyObject_cb(PyObject *user,
PyObject *Vector_CreatePyObject_cb(PyObject *cb_user,
int vec_num,
unsigned char cb_type,
unsigned char subtype) ATTR_WARN_UNUSED_RESULT;
unsigned char cb_subtype) ATTR_WARN_UNUSED_RESULT;
/**
* \param vec: Initialized vector value to use in-place, allocated with #PyMem_Malloc
*/