Cleanup: move trailing comments to avoid wrapping code

Some statements were split across multiple lines because of their
trailing comments.

In most cases it's clearer to put the comments above.
This commit is contained in:
2019-08-14 23:29:46 +10:00
parent bc4fe45aef
commit 03b2371387
72 changed files with 311 additions and 239 deletions

View File

@@ -1428,8 +1428,9 @@ static int BPy_IDArray_ass_slice(BPy_IDArray *self, int begin, int end, PyObject
size = (end - begin);
alloc_len = size * elem_size;
vec = MEM_mallocN(alloc_len,
"array assignment"); /* NOTE: we count on int/float being the same size here */
/* NOTE: we count on int/float being the same size here */
vec = MEM_mallocN(alloc_len, "array assignment");
if (PyC_AsArray(vec, seq, size, py_type, is_double, "slice assignment: ") == -1) {
MEM_freeN(vec);
return -1;