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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user