Cleanup: correct naming of struct member comments

Also reduce right-shift for DupliGenerator declarations.
This commit is contained in:
2023-04-14 14:26:42 +10:00
parent 26aa1b1367
commit dc1b36f288
16 changed files with 29 additions and 24 deletions

View File

@@ -1620,7 +1620,7 @@ static PySequenceMethods BPy_IDGroup_Seq = {
};
static PyMappingMethods BPy_IDGroup_Mapping = {
/*mp_len*/ (lenfunc)BPy_IDGroup_Map_Len,
/*mp_length*/ (lenfunc)BPy_IDGroup_Map_Len,
/*mp_subscript*/ (binaryfunc)BPy_IDGroup_Map_GetItem,
/*mp_ass_subscript*/ (objobjargproc)BPy_IDGroup_Map_SetItem,
};
@@ -1994,7 +1994,7 @@ static int BPy_IDArray_ass_subscript(BPy_IDArray *self, PyObject *item, PyObject
}
static PyMappingMethods BPy_IDArray_AsMapping = {
/*mp_len*/ (lenfunc)BPy_IDArray_Len,
/*mp_length*/ (lenfunc)BPy_IDArray_Len,
/*mp_subscript*/ (binaryfunc)BPy_IDArray_subscript,
/*mp_ass_subscript*/ (objobjargproc)BPy_IDArray_ass_subscript,
};